The Lab
CAMERA native

SET_GAMEPLAY_CAM_RELATIVE_PITCH

returns void2 paramsbuild 1207

Tilts the gameplay camera to the given pitch relative to the player ped.

Signature

C
void SET_GAMEPLAY_CAM_RELATIVE_PITCH(float x, float Value2); // 0xFB760AF4F537B8BF b1207

Parameters

#NameType
1xfloat
2Value2float

Facts

Facts about SET_GAMEPLAY_CAM_RELATIVE_PITCH
Name
SET_GAMEPLAY_CAM_RELATIVE_PITCH
Hash
0xFB760AF4F537B8BF
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(0xFB760AF4F537B8BF, -- SET_GAMEPLAY_CAM_RELATIVE_PITCH
  0.0, -- float x
  0.0 -- float Value2
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xFB760AF4F537B8BF", // SET_GAMEPLAY_CAM_RELATIVE_PITCH
  0.0, // float x
  0.0 // float Value2
);
C#
Function.Call((Hash)0xFB760AF4F537B8BF, // SET_GAMEPLAY_CAM_RELATIVE_PITCH
  0.0f, // float x
  0.0f // float Value2
);
All CAMERA natives

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