GET_GAMEPLAY_CAM_RELATIVE_HEADING
Hash
0xC4ABF536048998AARuntime name
GetGameplayCamRelativeHeadingNamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x743607648ADD4587Signature
float GET_GAMEPLAY_CAM_RELATIVE_HEADING();Returns float
Usage
local retval = GetGameplayCamRelativeHeading()
-- always works, by hash
local retval = Citizen.InvokeNative(0xC4ABF536048998AA, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetGameplayCamRelativeHeading();
// by hash
const retval = Citizen.invokeNative('0xC4ABF536048998AA', Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0xC4ABF536048998AA);See also
SET_GAMEPLAY_CAM_RELATIVE_HEADINGSets the camera position relative to heading in float from -360 to +360.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.