Message to all players when doing /kick
#3

Quote:
Originally Posted by SpiderPork
Just help him, the topic will be moved anyways.

You must get the player's name then put it in a string.
pawn Код:
new name[MAX_PLAYER_NAME]:

GetPlayerName(/*whatever you got for the victim's define*/, name, sizeof(name));
format(string, sizeof(string), "~ %s has been kicked from the server.", name);
SendClientMessageToAll(RED, string);
Kick(/*victim's define*/);
Thanks. Now I also need a reason like /kick [id] [reason] so the player can see why he has been kicked
Reply


Messages In This Thread
Message to all players when doing /kick - by Jakku - 10.05.2009, 13:08
Re: Message to all players when doing /kick - by SpiderPork - 10.05.2009, 13:23
Re: Message to all players when doing /kick - by Jakku - 10.05.2009, 13:29
Re: Message to all players when doing /kick - by SpiderPork - 10.05.2009, 13:36
Re: Message to all players when doing /kick - by Jakku - 10.05.2009, 13:39
Re: Message to all players when doing /kick - by SpiderPork - 10.05.2009, 13:40

Forum Jump:


Users browsing this thread: 2 Guest(s)