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

pawn Code:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendClientMessage(killerid, -1, "You have been kicked because you killed someone. ");
    Kick(killerid);
    return 1;
}
This is a quick example. Change it to the way you want
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)