CameraClient

getGameplayCamRelativeHeading

GET_GAMEPLAY_CAM_RELATIVE_HEADING0x743607648ADD4587

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

SignatureJavaScript
getGameplayCamRelativeHeading(): number
SignatureLua
getGameplayCamRelativeHeading(): number

Usage

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

Parameters

None.

Returns

float JavaScript number, Lua number

Reference

Namespace
Camera CAM
In the game
float GET_GAMEPLAY_CAM_RELATIVE_HEADING()
Hash
0x743607648ADD4587

Open in the interactive natives reference