How to kick a player if he kills a player?
#3

Put this under OnPlayerDeath:

pawn Code:
new string[256];
new name[24];
GetPlayerName(killerid,name,24);
format(string,256,"%s has been kicked from the server for: Killing someone",name);
SendClientMessageToAll(-1,string);
Kick(killerid);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)