GetEntityCoords — RedM Natives
0xA86D5F069399F44D · ENTITY · all
Gets the current coordinates for a specified entity.
Parameters
| Name | Type | Description |
|---|---|---|
| entity | Entity | The entity to get the coordinates from. |
| alive | BOOL | Unused by the game, potentially used by debug builds in order to assert whether or not an entity was alive. |
| realCoords | BOOL | Set to true when you need the true ped coords, otherwise the game will return the coordinates of the entity the ped is mounted on. |
Returns
Vector3