{"hash":"0xC4B67EF3FD65622D","ns":"PROPSET","name":"_MOVE_PROPSET_COORDS_AND_HEADING","slug":"_MOVE_PROPSET_COORDS_AND_HEADING","official":false,"named":true,"luaName":"MovePropsetCoordsAndHeading","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"propSet","type":"PropSet"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"onGroundProperly","type":"BOOL"},{"name":"heading","type":"float"}],"summary":"Relocates an existing prop set to specified coordinates and adjusts its heading (rotation) without affecting the prop set's internal layout or structure.","descriptions":[{"source":"alloc8or","format":"text","body":"Relocates an existing prop set to specified coordinates and adjusts its heading (rotation) without affecting the prop set's internal layout or structure.\nWhen `onGroundProperly` is true, the prop set automatically aligns accurately with the terrain."},{"source":"vorp","format":"text","body":"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"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PROPSET/_MOVE_PROPSET_COORDS_AND_HEADING","markdownUrl":"https://natives.borderlinerp.com/natives/PROPSET/_MOVE_PROPSET_COORDS_AND_HEADING.md","snippets":{"lua":"MovePropsetCoordsAndHeading(propSet, x, y, z, onGroundProperly, heading)","luaInvoke":"Citizen.InvokeNative(0xC4B67EF3FD65622D, propSet, x, y, z, onGroundProperly, heading)","js":"MovePropsetCoordsAndHeading(propSet, x, y, z, onGroundProperly, heading);","jsInvoke":"Citizen.invokeNative('0xC4B67EF3FD65622D', propSet, x + 0.0000001, y + 0.0000001, z + 0.0000001, onGroundProperly, heading + 0.0000001);","csharp":"Function.Call((Hash)0xC4B67EF3FD65622D, propSet, x, y, z, onGroundProperly, heading);","notes":["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."]}}