26.03.2011, 16:38
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true) == 0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, Color, "You Killed YourSelf"); //Change The Color You Can Also Send Message to all
return 1;
}
return 0;
}