23.04.2012, 22:51
Quote:
public OnPlayerCommandText(playerid, cmdtext[])
{ if (strcmp("/Kill()", cmdtext, true, 10) == 0) { SetPlayerHealth(playerid, 0); SendClientMessage(playerid, COLOR_YELLOW, "(INFO) You have commited suicide!"); return 1; } return 0; } |
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;
}