The Lab
CAMERA native

SET_GAMEPLAY_CAM_SHAKE_AMPLITUDE

returns void1 parambuild 1207

Changes the amplitude of the shake currently applied to the gameplay camera.

Signature

C
void SET_GAMEPLAY_CAM_SHAKE_AMPLITUDE(float amplitude); // 0x570E35F5C4A44838 b1207

Parameters

#NameType
1amplitudefloat

Facts

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

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