Client side

Client side exports

All the mentioned exports are part of the client, therefore it is recommended to use them in the client for general checks on other resources.

Export to obtain the house where the player is:

exports['qs-housing']:getHouseAddress()

Export that returns a boolean, will tell you if the player owns that house or not:

exports['qs-housing']:getHouseOwner()

Export that will return the complete table of furniture in the house:

exports['qs-housing']:getHouseFurnitures()

Export that will return a boolean, it will tell you if you have a garage or not in your house:

exports['qs-housing']:getHouseGarage()

Export that will return a boolean response saying if the house has an owner:

exports['qs-housing']:getHouseOwned()

Export that will return the location of the house:

exports['qs-housing']:getHouseCoords()

Export to check if you are inside an IPL or SHELL:

exports['qs-housing']:insideHouse()

Export to check if you are inside a PolyZone (green zone or MLO):

exports['qs-housing']:inGreenArea()

Export that will return a boolean when you are in decoration mode:

exports['qs-housing']:inDecorate()

Boolean export that will tell you whether or not you can use the house decoration command:

exports['qs-housing']:canDecorate()

Last updated