getCurrentHouse
The getCurrentHouse
export allows you to retrieve the ID of the house you are currently inside. This is particularly useful for checking the player's current location and interacting with features specific to that house.
How to Use
To get the ID of the house you are currently in, you can use the following code:
This export will return the ID of the house if you are inside one or nil
if you are not currently in any house. You can use this data for tasks like managing upgrades, decorations, or other house-specific functionalities.
Last updated