[debug] Run time error 4: "Array index out of bounds"
#5

pawn Код:
for(new i = 1; i <= houses; i++)
I guess these has to be:
pawn Код:
for(new i = 0; i < houses; i++)
Now you will need to remove
pawn Код:
new j = i - 1;
and dont forget to replace j with i in that public.

pawn Код:
HouseInfo[i][hID]                   = i;
The fuck? Maybe you meant to retrieve house id from database
Reply


Messages In This Thread
[debug] Run time error 4: "Array index out of bounds" - by SH0x - 19.02.2017, 19:32
Respuesta: [debug] Run time error 4: "Array index out of bounds" - by Eloy - 19.02.2017, 20:54
Re: [debug] Run time error 4: "Array index out of bounds" - by PowerPC603 - 19.02.2017, 21:44
Re: Respuesta: [debug] Run time error 4: "Array index out of bounds" - by SH0x - 20.02.2017, 10:01
Re: [debug] Run time error 4: "Array index out of bounds" - by DRIFT_HUNTER - 20.02.2017, 10:26

Forum Jump:


Users browsing this thread: 1 Guest(s)