Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Snippet Showroom => Topic started by: mrockxkingbutt on December 16, 2013, 01:21:27 am

Title: Be Right Back [ By me ]
Post by: mrockxkingbutt on December 16, 2013, 01:21:27 am
Hi All Add This
Note : Changelog!

Paste It On OnPlayerText
Code: [Select]
else if ( strcmp( cmd, "brb", true ) == 0 )
{
SendClientMessage(playerid,COLOR_GREEN,"You Are Away Type Back to Move Again");
 TogglePlayerControllable(playerid, 0);
return 1;
}
else if ( strcmp( cmd, "back", true ) == 0 )
{
SendClientMessage(playerid,COLOR_GREEN,"You Are Back [ Welcome Back ]");
 TogglePlayerControllable(playerid, 1);
return 1;
}
else if ( strcmp( cmd, "wb", true ) == 0 )
{
SendClientMessageToAll(COLOR_GREEN,"Welcome Back");
return 1;
}

If Liked It PM Me!
Title: Re: Be Right Back [ Advance System ]
Post by: Fuzzy168 on December 16, 2013, 12:06:28 pm
Paste it where, genius? If you call this on OnPlayerCommandText(), the player will have to type the command with the /c prefix. If you call this on OnPlayerText(), there really isn't any point for the messages for 'wb'.
Title: Re: Be Right Back [ Advance System ]
Post by: mrockxkingbutt on December 16, 2013, 05:11:02 pm
WB Is For Welcome Back CMD!
When Someone Type Back Then Wb

Note : Changelog!
Title: Re: Be Right Back [ Advance System ]
Post by: NeskWriter on December 16, 2013, 05:31:59 pm
"Welcome back" is said to those who get back from afk/brb to express your pleasure or whatever it is. Nothing advanced here.
Title: Re: Be Right Back [ Advance System ]
Post by: mrockxkingbutt on December 16, 2013, 05:57:23 pm
LoL Zombie!
Title: Re: Be Right Back [ Advance System ]
Post by: sherwin688 on March 12, 2014, 12:30:38 pm
NICE
Title: Re: Be Right Back [ Advance System ]
Post by: sseebbyy on March 17, 2014, 05:31:18 pm
Is nothing advanced here, noob !
Can you tell me why you are calling this, an "advanced system" ? Because I see just 3 commands, and every cmd can be used how many times you want, doesn't matter if you were/are afk or not.

E.g.: If you type "/c back" without typing "/c brb" first, it will still unfreeze you and send you the message.
Title: Re: Be Right Back [ Advance System ]
Post by: mrockxkingbutt on March 17, 2014, 05:34:46 pm
Is nothing advanced here, noob !
Can you tell me why you are calling this, an "advanced system" ? Because I see just 3 commands, and every cmd can be used how many times you want, doesn't matter if you were/are afk or not.

E.g.: If you type "/c back" without typing "/c brb" first, it will still unfreeze you and send you the message.

dont you think noob word deserves to newbies!

like i can also say you noob? it look like pre-noob!

so better be give respect and take respect!
Title: Re: Be Right Back [ Advance System ]
Post by: stormeus on March 17, 2014, 11:26:26 pm
If I'm frozen by an admin or the script and type back, I will be unfrozen, regardless of whether or not I was frozen by an admin. Because the script doesn't track whether or not I'm AFK, I can do this an unlimited amount of times. Even if the script tracked my status, I could just type brb and back, and still be unfrozen. This is what Seby is saying.

That isn't very advanced.
Title: Re: Be Right Back [ Advance System ]
Post by: mrockxkingbutt on March 18, 2014, 12:33:01 am
If I'm frozen by an admin or the script and type back, I will be unfrozen, regardless of whether or not I was frozen by an admin. Because the script doesn't track whether or not I'm AFK, I can do this an unlimited amount of times. Even if the script tracked my status, I could just type brb and back, and still be unfrozen. This is what Seby is saying.

That isn't very advanced.

Not If You Added The String Of The Freeze

Code: [Select]
new Freezed[MAX_PLAYERS];
Add It In Back Command

Code: [Select]
else if(Freezed[playerid] == 1) SendClientMessage(playerid,COLOR_RED," You Are Freezed By An Admin You Cant Use This Cmd ");
Add This In Freeze cmd

Code: [Select]
Freezed[plr] = 1;
Add This In Unfreeze Cmd

Code: [Select]
Freezed[plr] = 0;
this will prevent it storm!

PS: Edited Happy Now?