_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. 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
PROPSETBuild 1207
Signature
lua
MovePropsetCoordsAndHeading(0, 0.0, 0.0, 0.0, true, 0.0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| int | — | |
| float | — | |
| float | — | |
| float | — | |
| BOOL | — | |
| float | — |
Usage
lua
MovePropsetCoordsAndHeading(0, 0.0, 0.0, 0.0, true, 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
