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