Need help error on gm maybe
#6

My guess is that you are looping trough all players.
Okay so lets imagine MAX_PLAYERS is 50 for now.
So you are looping 50 times.
When you have this:
PHP код:
new FPS[30
You are getting the error Array index out of bounds i think.
The thing is that it is looking for FPS[31] it the 31th loop while it isnt there.
Same for others such as: gAirdrop[i][AIRDROP_EXIST]

What you could do is increasing their sizes, which i do not recommend or you could create a new loop for them like:

PHP код:
MAXFPS 32
for(new d=0d<MAXFPS;++d
Reply


Messages In This Thread
Need help error on gm maybe - by Venom546 - 04.10.2018, 10:58
Re: Need help error on gm maybe - by Jyothiranand - 04.10.2018, 11:10
Re: Need help error on gm maybe - by Venom546 - 04.10.2018, 11:12
Re: Need help error on gm maybe - by jasperschellekens - 04.10.2018, 11:28
Re: Need help error on gm maybe - by Venom546 - 04.10.2018, 11:29
Re: Need help error on gm maybe - by jasperschellekens - 04.10.2018, 11:34
Re: Need help error on gm maybe - by Venom546 - 04.10.2018, 11:41
Re: Need help error on gm maybe - by Calisthenics - 04.10.2018, 11:47
Re: Need help error on gm maybe - by Venom546 - 05.10.2018, 13:24

Forum Jump:


Users browsing this thread: 1 Guest(s)