23.04.2012, 23:06
Try this
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;
}