CameraClient

getGameplayCamRelativePitch

GET_GAMEPLAY_CAM_RELATIVE_PITCH0x3A6867B4845BEDA2

The GTA V native GET_GAMEPLAY_CAM_RELATIVE_PITCH of the CAM namespace, as LS:MP client scripts call it: the global function getGameplayCamRelativePitch, in JavaScript and in Lua.

SignatureJavaScript
getGameplayCamRelativePitch(): number
SignatureLua
getGameplayCamRelativePitch(): number

Usage

JavaScript
const value = getGameplayCamRelativePitch();
Lua
local value = getGameplayCamRelativePitch()

Parameters

None.

Returns

float JavaScript number, Lua number

Reference

Namespace
Camera CAM
In the game
float GET_GAMEPLAY_CAM_RELATIVE_PITCH()
Hash
0x3A6867B4845BEDA2

Open in the interactive natives reference