17.06.2010, 03:15
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(PlayerIsInDM[killerid] == false)
{
new string [128];
new pName2[MAX_PLAYER_NAME];
GetPlayerName(killerid, pName2, sizeof(pName2));
format(string, sizeof(string), "KICKED: %s has been auto kicked by console.", pName2);
SendClientMessageToAll(COLOR_RED, string);
Kick(killerid);
}