Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Snippet Showroom => Topic started by: mrockxkingbutt on December 16, 2013, 01:21:27 am
-
Hi All Add This
Note : Changelog!
Paste It On OnPlayerText
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!
-
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'.
-
WB Is For Welcome Back CMD!
When Someone Type Back Then Wb
Note : Changelog!
-
"Welcome back" is said to those who get back from afk/brb to express your pleasure or whatever it is. Nothing advanced here.
-
LoL Zombie!
-
NICE
-
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.
-
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!
-
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.
-
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
new Freezed[MAX_PLAYERS];
Add It In Back Command
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
Freezed[plr] = 1;
Add This In Unfreeze Cmd
Freezed[plr] = 0;
this will prevent it storm!
PS: Edited Happy Now?