28.10.2010, 12:50
Well it's not that big of a deal, but it's bothering me. I have a dynamic housing system which allows the players to buy a house anywhere on the map. It works great, theres just one little problem, when they buy the house, it's exactly where they were standing, saves in the file and is perfect. But when I log in it sets the house entrance and house car just a little off from where they were when you first bought them.
The problem is it sets the second part of the X, Y and Z to 0's instead of what they should be, is there any way to fix this? Thanks.
Код:
HouseX=1341.000000 HouseY=-1675.000000 HouseZ=17.000000 HouseVW=80 HouseIntX=244.000000 HouseIntY=305.000000 HouseIntZ=999.000000 HouseInt=1 HouseCarX=1361.000000 HouseCarY=-1658.000000 HouseCarZ=13.000000 HouseCarAngle=270.0 HouseCarId=549 HouseCarLocked=0 HouseCarColorChosen=0 HouseCarColor1=0 HouseCarColor2=0 HouseLevel=1 HouseSpawn=1 EnterHouse=1 MakingHouse=0 OwnsHouse=1