_SET_GAMEPLAY_CAM_INITIAL_ZOOM
Sets the zoom level the gameplay camera starts with, camInitialZoom.
Signature
void _SET_GAMEPLAY_CAM_INITIAL_ZOOM(float camInitialZoom); // 0xBCDA0BA8762FACB9 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | camInitialZoom | float |
Facts
| Name | _SET_GAMEPLAY_CAM_INITIAL_ZOOM |
|---|---|
| Hash | 0xBCDA0BA8762FACB9 |
| 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(0xBCDA0BA8762FACB9, -- _SET_GAMEPLAY_CAM_INITIAL_ZOOM
0.0 -- float camInitialZoom
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xBCDA0BA8762FACB9", // _SET_GAMEPLAY_CAM_INITIAL_ZOOM
0.0 // float camInitialZoom
);Function.Call((Hash)0xBCDA0BA8762FACB9, // _SET_GAMEPLAY_CAM_INITIAL_ZOOM
0.0f // float camInitialZoom
);Related CAMERA natives
- _SET_GAMEPLAY_CAM_INITIAL_HEADING
- _SET_GAMEPLAY_CAM_INITIAL_PITCH
- _SET_GAMEPLAY_CAM_PARAMS_THIS_UPDATE
- 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
- SET_GAMEPLAY_CAM_SHAKE_AMPLITUDE
- _SET_CAM_DOF_PARAMS
- _SET_CAM_FOCUS_DISTANCE
- _SET_START_CINEMATIC_DEATH_CAM
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.