18.12.2015, 01:42
I believe the problem is here:
Why don't you print the furnitureid variable value just to be sure?
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];