SetEntityCoords — FiveM Natives
0x06843DA7060A026B · ENTITY · all
Sets the coordinates (world position) for a specified entity, offset by the radius of the entity on the Z axis.
Parameters
| Name | Type | Description |
|---|---|---|
| entity | Entity | The entity to change coordinates for. |
| xPos | float | The X coordinate. |
| yPos | float | The Y coordinate. |
| zPos | float | The Z coordinate, ground level. |
| alive | BOOL | Unused by the game, potentially used by debug builds of GTA in order to assert whether or not an entity was alive. |
| deadFlag | BOOL | Whether to disable physics for dead peds, too, and not just living peds. |
| ragdollFlag | BOOL | A special flag used for ragdolling peds. |
| clearArea | BOOL | Whether to clear any entities in the target area. |
Returns
void