My GM crashes
#7

pawn Код:
HouseFurnitures[ FurnitureData[FurnitureID] ]
This is 100% the cause. I guess you get "Accessing array index out of bounds on index" either -1 or some large number. You have to check first what the value holds:
pawn Код:
printf("%d", FurnitureData[FurnitureID]);
If it's negative, really big, or your defined invalid value for "FurnitureID", you need to add a surrounding if clause, or change the code in some other way
Reply


Messages In This Thread
My GM crashes - by Antenastyle - 16.08.2017, 18:19
Re: My GM crashes - by Kane - 16.08.2017, 20:02
Re: My GM crashes - by Antenastyle - 16.08.2017, 23:37
Re: My GM crashes - by Kane - 16.08.2017, 23:39
Re: My GM crashes - by Antenastyle - 17.08.2017, 18:55
Re: My GM crashes - by Kane - 17.08.2017, 19:40
Re: My GM crashes - by Misiur - 17.08.2017, 19:41

Forum Jump:


Users browsing this thread: 2 Guest(s)