17.08.2009, 22:00
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/kill", true)) { SetPlayerHealth(playerid, 0.0); SendClientMessage(playerid, 0xFF8282AA, "SERVER: You have killed yourself!"); return true; } return false; } if(!strcmp(cmdtext, "/help", true)) { SendClientMessage(playerid, LightBlue, "Checking"); } return 1; }