Message to all players when doing /kick
#2

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*/);
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: 6 Guest(s)