01.12.2010, 16:53
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/Boom", cmdtext, true) == 0) { if(AMAZ[playerid] == 0) { AMAZ[playerid] = 1; SendClientMessage(playerid,COLOR_GREEN,"Enabled"); } else { SendClientMessage(playerid,COLOR_GREEN,"Disabled"); AMAZ[playerid] = 0; } return 1; } return 0; }