26.08.2010, 20:01
pawn Код:
if (strcmp("/kill", cmdtext, true, 10) == 0}
{
SetPlayerHealth(playerid,0);
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) {
if(strcmp("/kill", cmdtext, true) == 0) {
SetPlayerHealth(playerid, 0);
return 1;
}
// All of your other commands belong below this.
return 0;
}