12.06.2011, 21:03
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmd, "/kill", true) == 0)
{
SetPlayerHealth(playerid, 0);
return 0x01;
}
return 0;
}
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
return 0x01;
}