The Lab
CAMERA native

_RESTART_GAMEPLAY_CAM_SHAKE_WITH_NAME

returns void2 paramsbuild 1207

Restarts the gameplay camera shake shakeName with the given intensity.

Signature

C
void _RESTART_GAMEPLAY_CAM_SHAKE_WITH_NAME(const char* shakeName, float intensity); // 0xC3E9E5D4F413B773 b1207

Parameters

#NameType
1shakeNameconst char*
2intensityfloat

Facts

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

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