20.06.2010, 14:04
try this
Edit: haha just noticed I was to slow...well check if you got "public OnPlayerDeath" twice in your script now
Код:
public OnPlayerDeath(playerid, killerid, reason) { if(playerid != killerid){ new pname[MAX_PLAYER_NAME], string[256]; GetPlayerName(killerid, pname, sizeof(pname)); format(string, sizeof(string), "%s was kicked for deathmatching!", pname); SendClientMessageToAll(YOURCOLOR, string); Kick(killerid); } return 1; }