Exports

With these exports, you will be able to manipulate the system from scripts external to it.

Client Exports

InsideHouse
exports['origen_housing']:insideHouse()

Check if a player is inside a house, return true if inside or false if not inside.

OpenHouseMenu
exports['origen_housing']:OpenHouseMenu()

Export to open the house management menu

CloseHouseMenu
exports['origen_housing']:CloseHouseMenu()

Esport to close the house management menu

GetPlayerHouses
exports['origen_housing']:getPlayerHouses(identifier) -- label | locacion | desc | entryCoords

Returns a table with house data or an empty table if there are no houses.

Server Exports

Last updated