Help getting house ID?
#1

Alright, I would like to know how I would get the houseid of the house a player is in...

The houseid that the player owns is HouseOwner[playerid] == id

id = houseid according to SQL.

How would I get the ID of the house the player is in...?

The HouseOwner[playerid] is inserted when a player /buyhouse so the ID of the house is placed in the HouseOwner variable on their account.....

How could I get the ID of a house when a player is in it?
Reply
#2

Save it to a variable when player enters the house.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)