19.04.2009, 02:32
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(reason == 50)
{
new name[24], str[128];
GetPlayerName(killerid, name, sizeof name);
format(str, sizeof str, " %s has been kicked for heli killing!", name);
SendClientMessageToAll(color, str);
SendClientMessage(killerid, color, " Do NOT heli kill!");
Kick(killerid);
}
return 1;
}