The Lab
CAMERA native

SHAKE_CAM

returns void3 paramsbuild 1207

Shakes the script camera cam using the shake type at the given amplitude.

Signature

C
void SHAKE_CAM(Cam cam, const char* type, float amplitude); // 0xF9A7BCF5D050D4E7 b1207

Parameters

#NameType
1camCam
2typeconst char*
3amplitudefloat

Facts

Facts about SHAKE_CAM
Name
SHAKE_CAM
Hash
0xF9A7BCF5D050D4E7
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(0xF9A7BCF5D050D4E7, -- SHAKE_CAM
  0, -- Cam cam
  "text", -- const char* type
  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("0xF9A7BCF5D050D4E7", // SHAKE_CAM
  0, // Cam cam
  "text", // const char* type
  0.0 // float amplitude
);
C#
Function.Call((Hash)0xF9A7BCF5D050D4E7, // SHAKE_CAM
  0, // Cam cam
  "text", // const char* type
  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.