[searching]Hello im trying to get an deadmatch kicker.
#6

try this
Код:
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;
}
Edit: haha just noticed I was to slow...well check if you got "public OnPlayerDeath" twice in your script now
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)