30.04.2014, 00:04
Quote:
Thanks, any other alternative way? I need the loop because when I delete houses it changes the house ID's on server restart to match MAX_HOUSES.
pawn Код:
|
The neatest way to do this IMO is to change your housing system to store each house with a unique ID number which never changes.
I think to keep your current system working, just remove the else statement as it is irrelevant. The player will probably notice they no longer have a house by looking at their stats, or whatever other system you have in place.