GET_ENTITY_COORDS
Gets the current coordinates for a specified entity. `entity` = The entity to get the coordinates from. `alive` = Unused by the game, potentially used by debug builds in order to assert whether or not an entity was alive. If entity is a ped and it's in a vehicle or on a mount the coords of that entity are returned. Set 'realCoords' to true when you need the true ped coords.
ENTITYBuild 1207
Signature
lua
GetEntityCoords(entity, true, true)
-- returns Vector3Parameters
| Name | Type | Description |
|---|---|---|
| Entity | — | |
| BOOL | — | |
| BOOL | — |
Usage
lua
GetEntityCoords(entity, true, true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
