The Lab
CAMERA native

_CINEMATIC_LOCATION_SET_LOCATION_AND_ROTATION

returns void7 paramsbuild 1207

Sets the position and rotation of the cinematic location name.

Signature

C
void _CINEMATIC_LOCATION_SET_LOCATION_AND_ROTATION(const char* name, float x, float y, float z, float rotX, float rotY, float rotZ); // 0x0E94C95EC3185FA9 b1207

Parameters

#NameType
1nameconst char*
2xfloat
3yfloat
4zfloat
5rotXfloat
6rotYfloat
7rotZfloat

Facts

Facts about _CINEMATIC_LOCATION_SET_LOCATION_AND_ROTATION
Name
_CINEMATIC_LOCATION_SET_LOCATION_AND_ROTATION
Hash
0x0E94C95EC3185FA9
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x0E94C95EC3185FA9, -- _CINEMATIC_LOCATION_SET_LOCATION_AND_ROTATION
  "text", -- const char* name
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  0.0, -- float rotX
  0.0, -- float rotY
  0.0 -- float rotZ
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x0E94C95EC3185FA9", // _CINEMATIC_LOCATION_SET_LOCATION_AND_ROTATION
  "text", // const char* name
  0.0, // float x
  0.0, // float y
  0.0, // float z
  0.0, // float rotX
  0.0, // float rotY
  0.0 // float rotZ
);
C#
Function.Call((Hash)0x0E94C95EC3185FA9, // _CINEMATIC_LOCATION_SET_LOCATION_AND_ROTATION
  "text", // const char* name
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  0.0f, // float rotX
  0.0f, // float rotY
  0.0f // float rotZ
);
All CAMERA natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.