GetEntryCoordinates
lua
It uses the property the player is inside (see GetCurrentProperty). The coordinates are the same point the property blip uses:
- For a property inside a building, the building entrance.
- Otherwise the property entrance.
- For an MLO without an entrance, the center of its yard or inside zone.
Return Value
vector3 | vector4The entrance coordinates, or the player's current coordinates if the player is not inside a property.
Example
lua