17.01.2016, 11:15
Im getting an error i have no clue on how to fix.
could anyone please assist me with this?
Thanks in advance
Edit: nevermind i fixed it, had to do it on the new way. foreach(new i : Player) fixed it.
could anyone please assist me with this?
Thanks in advance
Код:
if(IsBeingSpeced[playerid] == 1)//If the player being spectated, disconnects, then turn off the spec mode for the spectator. { foreach(Player,i) { if(spectatorid[i] == playerid) { TogglePlayerSpectating(i,false);// This justifies what's above, if it's not off then you'll be either spectating your connect screen, or somewhere in blueberry (I don't know why) } } }