RedM Natives

GET_GAMEPLAY_CAM_RELATIVE_PITCH

Hash0x99AADEBBA803F827
Runtime nameGetGameplayCamRelativePitch
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x3A6867B4845BEDA2

Signature

float GET_GAMEPLAY_CAM_RELATIVE_PITCH();

Returns float

Usage

Lua
local retval = GetGameplayCamRelativePitch()

-- always works, by hash
local retval = Citizen.InvokeNative(0x99AADEBBA803F827, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetGameplayCamRelativePitch();

// by hash
const retval = Citizen.invokeNative('0x99AADEBBA803F827', Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0x99AADEBBA803F827);

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.