17.04.2012, 20:52
Yes, so it would be something like:
Alternatively:
Since I assume that you're setting the variable as 999 to determine that it's an invalid player ID, right?
pawn Code:
if(GettingSpectated[playerid] != -1)
pawn Code:
if(GettingSpectated[playerid] != INVALID_PLAYER_ID)