RedM Natives

_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.

Hash0xC4B67EF3FD65622D
Runtime nameMovePropsetCoordsAndHeading
NamespacePROPSET
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _MOVE_PROPSET_COORDS_AND_HEADING(PropSet propSet, float x, float y, float z, BOOL onGroundProperly, float heading);

Parameters

NameTypeDescription
propSetPropSet—
xfloat—
yfloat—
zfloat—
onGroundProperlyBOOL—
headingfloat—

Returns void

Description

alloc8or RDR3 NativeDB

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.

VORPCORE RDR3natives

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
MovePropsetCoordsAndHeading(propSet, x, y, z, onGroundProperly, heading)

-- always works, by hash
Citizen.InvokeNative(0xC4B67EF3FD65622D, propSet, x, y, z, onGroundProperly, heading)
JavaScript and C#
JavaScript
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);
C#
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. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to 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 InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.