SHAKE_GAMEPLAY_CAM
Shakes the gameplay camera using the shake shakeName at the given intensity.
Signature
void SHAKE_GAMEPLAY_CAM(const char* shakeName, float intensity); // 0xD9B31B4650520529 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | shakeName | const char* |
| 2 | intensity | float |
Facts
| Name | SHAKE_GAMEPLAY_CAM |
|---|---|
| Hash | 0xD9B31B4650520529 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xD9B31B4650520529, -- SHAKE_GAMEPLAY_CAM
"text", -- const char* shakeName
0.0 -- float intensity
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xD9B31B4650520529", // SHAKE_GAMEPLAY_CAM
"text", // const char* shakeName
0.0 // float intensity
);Function.Call((Hash)0xD9B31B4650520529, // SHAKE_GAMEPLAY_CAM
"text", // const char* shakeName
0.0f // float intensity
);Related CAMERA natives
- SET_GAMEPLAY_CAM_SHAKE_AMPLITUDE
- _RESTART_GAMEPLAY_CAM_SHAKE_WITH_NAME
- SHAKE_CAM
- SET_GAMEPLAY_CAM_FOLLOW_PED_THIS_UPDATE
- SET_GAMEPLAY_CAM_IGNORE_ENTITY_COLLISION_THIS_UPDATE
- SET_GAMEPLAY_CAM_MAX_MOTION_BLUR_STRENGTH_THIS_UPDATE
- SET_GAMEPLAY_CAM_RELATIVE_HEADING
- SET_GAMEPLAY_CAM_RELATIVE_PITCH
- STOP_GAMEPLAY_CAM_SHAKING
- _FREEZE_GAMEPLAY_CAM_THIS_FRAME
- _SET_GAMEPLAY_CAM_INITIAL_HEADING
- _SET_GAMEPLAY_CAM_INITIAL_PITCH
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.