CameraClient

setFirstPersonShooterCameraPitch

SET_FIRST_PERSON_SHOOTER_CAMERA_PITCH0x759E13EBC1C15C5A

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

SignatureJavaScript
setFirstPersonShooterCameraPitch(pitch: number): void
SignatureLua
setFirstPersonShooterCameraPitch(pitch: number)

Usage

JavaScript
setFirstPersonShooterCameraPitch(pitch);
Lua
setFirstPersonShooterCameraPitch(pitch)

Parameters

ParameterTypeJavaScriptLua
pitchfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Camera CAM
In the game
void SET_FIRST_PERSON_SHOOTER_CAMERA_PITCH(float pitch)
Hash
0x759E13EBC1C15C5A
Formerly
_SET_GAMEPLAY_CAM_RAW_PITCH

Open in the interactive natives reference