_MOVE_PROPSET_COORDS_AND_HEADING
Relocates an existing prop set to specified coordinates and adjusts its heading (rotation) without affecting the prop set's internal layout or structure.
0xC4B67EF3FD65622DMovePropsetCoordsAndHeadingSignature
void _MOVE_PROPSET_COORDS_AND_HEADING(PropSet propSet, float x, float y, float z, BOOL onGroundProperly, float heading);Parameters
| Name | Type | Description |
|---|---|---|
propSet | PropSet | — |
x | float | — |
y | float | — |
z | float | — |
onGroundProperly | BOOL | — |
heading | float | — |
Returns void
Description
Relocates an existing prop set to specified coordinates and adjusts its heading (rotation) without affecting the prop set's internal layout or structure.
When onGroundProperly is true, the prop set automatically aligns accurately with the terrain.
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
MovePropsetCoordsAndHeading(propSet, x, y, z, onGroundProperly, heading)
-- always works, by hash
Citizen.InvokeNative(0xC4B67EF3FD65622D, propSet, x, y, z, onGroundProperly, heading)JavaScript and C#
MovePropsetCoordsAndHeading(propSet, x, y, z, onGroundProperly, heading);
// by hash
Citizen.invokeNative('0xC4B67EF3FD65622D', propSet, x + 0.0000001, y + 0.0000001, z + 0.0000001, onGroundProperly, heading + 0.0000001);Function.Call((Hash)0xC4B67EF3FD65622D, propSet, x, y, z, onGroundProperly, heading);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason. - The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.