05.08.2018, 03:55
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:
Is because MAX_HOUSE_FURNITURE was smaller than MAX_FURNITURE so 'i' didn't go beyond the limits of the array size.
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 !! |