CameraClient

setFirstPersonShooterCameraHeading

SET_FIRST_PERSON_SHOOTER_CAMERA_HEADING0x103991D4A307D472

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

SignatureJavaScript
setFirstPersonShooterCameraHeading(yaw: number): void
SignatureLua
setFirstPersonShooterCameraHeading(yaw: number)

Usage

JavaScript
setFirstPersonShooterCameraHeading(yaw);
Lua
setFirstPersonShooterCameraHeading(yaw)

Parameters

ParameterTypeJavaScriptLua
yawfloatnumbernumber

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.

Does nothing

Reference

Namespace
Camera CAM
In the game
void SET_FIRST_PERSON_SHOOTER_CAMERA_HEADING(float yaw)
Hash
0x103991D4A307D472
Formerly
_SET_GAMEPLAY_CAM_RAW_YAW

Open in the interactive natives reference