Exports
When using a lot of exports from bnl-housing, I recommend to make a variable named Housing
or something similar and set it to exports["bnl-housing"]
.
This way, you can use Housing:method
to write cleaner code.
Housing = exports["bnl-housing"]
📄️ createProperty
Get all data for a property
📄️ getProperty
Get all data for a property
📄️ getPropertyProp
Get a prop in a property
📄️ getPropertyPlayerIsIn
Get the property a player is in
📄️ getPropertiesVehicleIsIn
Get all the properties a vehicle is in
📄️ warpPlayerIntoProperty
Warp the player into a property
📄️ warpPlayerOutOfProperty
Warp the player out of a property
📄️ startPropEditorWithModel
Start the prop editor with a specified prop.
📄️ exitPropEditor
Exit the prop editor
📄️ registerSpecialProp
Register a "Special Prop"