24.01.2014, 16:51
@ikey07 That shows up because MAX_PLAYERS is 500, and the Char-Array has a limit, if you go over than 255 it will give a Crash Detect warning which is
So I'd suggest you re-define the MAX_PLAYERS to 255, if you want to use Char-Array
Char Array Limits: YOU must not go over 255 and lower than [b]0, also Char-Array uses Curly Braces ( { and }) )
pawn Код:
[19:49:16] [debug] Run time error 4: "Array index out of bounds"
[19:49:16] [debug] Accessing element at index 29 past array upper bound 28
pawn Код:
#if (defined MAX_PLAYERS)
#undef MAX_PLAYERS
#define MAX_PLAYERS (255)
#endif