| Property | Value |
|---|---|
| Native Name | _MOVE_PROPSET_COORDS_AND_HEADING |
| Hash | 0xC4B67EF3FD65622D |
| Return Type | void |
| Build | 1207 |
| Parameters | propset (int), posX (float), posY (float), posZ (float), onGroundProperly (BOOL), heading (float) |
Description: Relocates an existing prop set to specified coordinates and adjusts its heading (rotation) without affecting the prop set's internal layout or structure. The propSet parameter identifies the prop set to move. The parameters (coordsX, coordsY, coordsZ) set the new central position of the prop set, while heading specifies its rotation around the Z-axis (in degrees). When onGroundProperly is true, the prop set automatically aligns accurately with the terrain
Usage
Lua (Direct):
MovePropsetCoordsAndHeading(propset, posX, posY, posZ, onGroundProperly, heading)
Lua (Hash):
Citizen.InvokeNative(0xC4B67EF3FD65622D, propset, posX, posY, posZ, onGroundProperly, heading)