25.08.2012, 14:25
Quote:
Change this:
Code:
Kick(targetid); //Kicks him SendClientMessage(playerid,-1,"SERVER: You have been banned from the server.");//Sends the kicked a message Code:
SendClientMessage(targetid,-1,"SERVER: You have been banned from the server.");//Sends the kicked a message Kick(targetid); //Kicks him |
pawn Code:
new pname[MAX_PLAYER_NAME], str[256];
new targetid;
GetPlayerName(targetid, pname, sizeof(pname));
format(str, sizeof(str), "%s has been kicked from the server", pname);
SendClientMessageToAll(-1, str);