Index problem
#3

Quote:
Originally Posted by zPain
Посмотреть сообщение
I believe the problem is here:

PHP код:
new furnitureid CreateDynamicObject(fidHouseInfo[x][ExitX],HouseInfo[x][ExitY],HouseInfo[x][ExitZ], 0,0,0HouseInfo[x][VirtualWorld],HouseInfo[x][Interior]); 
FurnitureData[furnitureid][FurnitureSlot] = HouseInfo[x][HouseFurniture]; 
FurnitureData[furnitureid][FurnitureMaster] = x
FurnitureData[furnitureid][FurnitureModel] = fid
FurnitureData[furnitureid][FurnitureX] = HouseInfo[x][ExitX]; 
FurnitureData[furnitureid][FurnitureY] = HouseInfo[x][ExitY]; 
FurnitureData[furnitureid][FurnitureZ] = HouseInfo[x][ExitZ]; 
FurnitureData[furnitureid][FurnitureInterior] = HouseInfo[x][Interior]; 
FurnitureData[furnitureid][FurnitureWorld] = HouseInfo[x][VirtualWorld]; 
Why don't you print the furnitureid variable value just to be sure?
Actually I just tested that, Ive found out that the problem is in this for some awkward reason
PHP код:
if(HouseInfo[x][Owned] >= 1) { // It was == now its >=1 
Basically it checks of the house is set as owned and its whats causing the error. I tried removing the code, no error but in that case it wont basically get the correct results



EDIT: no no wait, you are actually correct, the furnitureid is casuing the issue, I wonder why tho, any ideas? I tried printing out the stuff, but no results since it displays the crash detect results first
Reply


Messages In This Thread
Index problem - by TwinkiDaBoss - 18.12.2015, 01:03
Re: Index problem - by zPain - 18.12.2015, 01:42
Re: Index problem - by TwinkiDaBoss - 18.12.2015, 01:46
Re: Index problem - by zPain - 18.12.2015, 02:21
Re: Index problem - by TwinkiDaBoss - 18.12.2015, 03:17
Re: Index problem - by zPain - 18.12.2015, 04:17
Re: Index problem - by vassilis - 18.12.2015, 07:46
Re: Index problem - by TwinkiDaBoss - 18.12.2015, 08:00

Forum Jump:


Users browsing this thread: 1 Guest(s)