31.10.2012, 12:46
The issue is because you're setting the variables to 999 if the person is not connected and such, and seeing as the array you're using probably is the size of MAX_PLAYERS (500), if you're checking for 999 then its going out of bounds, you need to reduce the number to be in bounds OR have a check IE, if(X == 999)