22.09.2014, 21:16
After a player goes off admin duty the script forces his class selection, and if he dies he is prompted into Class Selection again, this happens after the event too...
I tried debugging, it gets called normally, it doesn't call it twice...
Код:
. . . case 1: // <------- if hes on duty { ForceClassSelection(playerid); print("force class - command"); TogglePlayerSpectating(playerid, true); TogglePlayerSpectating(playerid, false); TPLI[playerid][aduty] = 0; }