Client side
Client exports run in your client scripts and work for the local player. Exports that ask the server for data wait for the answer, so call them from a thread or an event handler.
Current property
- GetCurrentPropertyId - The property the player is in
- GetCurrentProperty - Data of the property the player is inside
- GetEntryCoordinates - Entrance of the property the player is in
- IsPointInsideProperty - Whether a point is inside a property's area
- IsPointInsideBuilding - Whether a point is near a building entrance
- WrapIntoProperty - Put the player inside a shell or IPL
Properties and keys
- GetAllProperties - Properties owned by the player or their job
- GetKeyHolders - Key holders of a property
- AddKey - Give a key, as the player
- RemoveKey - Remove a key, as the player
- SetWaypointToProperty - GPS waypoint to a property
Doors, lockpicks and raids
- GetClosestDoor - Closest property door (MLO door)
- GetClosestFurnitureDoor - Closest furniture door
- IsNearLockableDoor - Whether the player is at a lockable door
- UseLockpick - Lockpick the closest door or entrance
- PoliceRaidDoor - Break the closest door, for police
- UseFurnitureDoorLockpick - Lockpick the closest furniture door
- PoliceRaidFurnitureDoor - Break the closest furniture door, for police
Utilities
- IsUtilityPaid - Whether a bill is paid
- GetUtilitiesPaidStatus - Paid status of every utility
- IsUtilityCutOff - Whether a utility is cut off
- GetUtilitiesCutOffStatus - Cut-off status of every utility
Map zones
- GetMapZoneAtCoords - The zone at a position
- GetMapZonesAtCoords - Every zone at a position
- GetZonePrice - Property price of a zone
- GetZonePricingInfo - How a zone's price is worked out
Menus
- OpenPropertyMenu - Manage menu of the current property
- OpenPropertiesShell - The Properties menu, on any page
- openPropertiesMenu - The Marketplace
Other client exports
These exports are used by item setups or by the script itself.