23.04.2012, 22:57
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/Kill()", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, 0xFFFF00AA , "(INFO) You have commited suicide!");
return 1;
}
return 0;
}