GetEntryCoordinates
This export returns the entry coordinates of the current property the player is in, or the player's current coordinates if not in a property.
exports.nolag_properties:GetEntryCoordinates()Returns
vector3- The coordinates of the entry point (blip location) of the current property, or the player's current coordinates if no property is selected.
Usage Example
local entryCoords = exports.nolag_properties:GetEntryCoordinates()
print("Entry coordinates:", entryCoords)Description
This export retrieves the entry coordinates of the property the player is currently inside. If the player is not currently in a property, it returns the player's current position instead. The entry coordinates correspond to the property's blip location, which is typically the main entrance or interaction point.
Last updated