setGameplayCamRelativePitch
SET_GAMEPLAY_CAM_RELATIVE_PITCH0x6D0858B8EDFD2B7DThe GTA V native SET_GAMEPLAY_CAM_RELATIVE_PITCH of the CAM namespace, as LS:MP client scripts call it: the global function setGameplayCamRelativePitch, in JavaScript and in Lua.
setGameplayCamRelativePitch(angle: number, scalingFactor: number): voidsetGameplayCamRelativePitch(angle: number, scalingFactor: number)Usage
JavaScript
setGameplayCamRelativePitch(angle, scalingFactor);Lua
setGameplayCamRelativePitch(angle, scalingFactor)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
angle | float | number | number |
scalingFactor | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
This native sets the camera's pitch (rotation on the x-axis).
Reference
- Namespace
- Camera CAM
- In the game
void SET_GAMEPLAY_CAM_RELATIVE_PITCH(float angle, float scalingFactor)- Hash
0x6D0858B8EDFD2B7D