Open flamesidgs opened 1 year ago
Those errors don't make any sense. Line 17374 is:
FIXES_gsPlayerPGTShown[i][MAX_PLAYERS] = MAX_PLAYERS;
The compiler can't detect an OOB from i
(defined by a loop using sizeof
anyway), so it must be from MAX_PLAYERS
, but the array is declared with:
FIXES_gsPlayerPGTShown[FIXES_GT_STYLE_COUNT][MAX_PLAYERS + 1];
Which is by definition large enough to index MAX_PLAYERS
, because of the + 1
. How is your MAX_PLAYERS
declared? Have you edited anything? Any other includes before fixes.inc?
dependencies\sa-mp-fixes\fixes.inc:17374 (error) array index out of bounds (variable "FIXES_gsPlayerPGTShown") dependencies\sa-mp-fixes\fixes.inc:17571 (error) array index out of bounds (variable "FIXES_gsPlayerPGTShown") dependencies\sa-mp-fixes\fixes.inc:17788 (error) array index out of bounds (variable "FIXES_gsPlayersIterator") I get an error on a variable that is in fixes include