Quote:
Originally Posted by zPain
I believe the problem is here:
PHP код:
new furnitureid = CreateDynamicObject(fid, HouseInfo[x][ExitX],HouseInfo[x][ExitY],HouseInfo[x][ExitZ], 0,0,0, HouseInfo[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