04.03.2011, 18:35
Quote:
Lets say there is a house line in the player file (house = -1)
and if he bought a house, lets say houseid 5 (house = 5) if we read it than and it isnt -1, he got a house For easier usage just load the saved data into variables If his account is removed the house is ownerless and can be bought again... After all an house system isnt that complicated, its more or less two pickups with one id (enter pickup / exit pickup / houseid) |
Quote:
If his account is removed the house is ownerless and can be bought again... |