13.05.2017, 17:22
Quote:
Код:
new bool: actived[MAX_PLAYERS] = true; CMD:example(id, params[]) { if (!actived[id]) return 1; //....... return 1; } |
Код:
new bool:active[MAX_PLAYERS]; public OnPlayerCommandReceived(...) { if(!active[playerid]) return (false); // REST OF THE CODE }