[debug] Accessing element at index 30 past array upper bound 29
#2

Okay so lemme tell you what exactly went wrong here, it's not the include its your loop.

https://sampforum.blast.hk/showthread.php?tid=654036

^ This explains the error you got.

ListedFurniture[playerid][i]

i was > the second array.

The only reason it was fixed when you:

Quote:

EDIT: I solved it changing MAX_FURNITURE to MAX_HOUSE_FURNITURE !!

Is because MAX_HOUSE_FURNITURE was smaller than MAX_FURNITURE so 'i' didn't go beyond the limits of the array size.
Reply


Messages In This Thread
[debug] Accessing element at index 30 past array upper bound 29 - by R3SpaWn0 - 05.08.2018, 01:03
Re: [debug] Accessing element at index 30 past array upper bound 29 - by RogueDrifter - 05.08.2018, 03:55

Forum Jump:


Users browsing this thread: 1 Guest(s)