15.10.2013, 19:43
Код:
new DutySomething[MAX_PLAYERS] = 0; + OnPlayerConnect DutySomething[playerid] = 0;
Код:
CMD:duty(playerid, params[]) { if(DutySomething[playerid] == 0) { //Duty Goes Here On DutySomething[playerid] = 1; } else if(DutySomething[playerid] == 1) { //Duty Goes Here Off DutySomething[playerid] = 0; } return 1; }