06.07.2009, 04:07
The way you system (as far as I can tell) works right now is that players can only own houses that they have the same ID with.
So a player with ID 0 can only own house ID 0
a player with ID 57 can only own house ID 57
etc...
should be something like:
or if you store the owner variable within the player's stats, it should be something like:
But this is merely an assumption.
Post your entire code: www.pastebin.com
So a player with ID 0 can only own house ID 0
a player with ID 57 can only own house ID 57
etc...
pawn Code:
Houses[playerid][...]
pawn Code:
Houses[houseid][...]
pawn Code:
Player[playerid][houseOwner] // would equal the house ID that playerid owns
Post your entire code: www.pastebin.com

