Run time error 4: "Array index out of bounds"
#4

These two public functions have something in common:
pawn Код:
PlayerInfo[i][ActionID] = 0;
Minigamer_{i} = false;
// and
PlayerInfo[player][ActionID] = 0;
Minigamer_{player} = false;
`MinigameWinner` passed 51 as player parameter while the size of the faulty array is 50. Check how you declared `PlayerInfo` and `Minigamer_` arrays. If you want to know the line caused it, compile with -d3 flag.
Reply


Messages In This Thread
Run time error 4: "Array index out of bounds" - by CraZZyKiLl3R69 - 31.01.2019, 16:34
Re: Run time error 4: "Array index out of bounds" - by Pottus - 31.01.2019, 16:55
Re: Run time error 4: "Array index out of bounds" - by Florin48 - 31.01.2019, 16:59
Re: Run time error 4: "Array index out of bounds" - by Calisthenics - 31.01.2019, 17:07

Forum Jump:


Users browsing this thread: 2 Guest(s)