RedM Natives

SET_GAMEPLAY_HINT_BASE_ORBIT_PITCH_OFFSET

Hash0x421192A2DA48FD01
Runtime nameSetGameplayHintBaseOrbitPitchOffset
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xD1F8363DFAD03848

Signature

void SET_GAMEPLAY_HINT_BASE_ORBIT_PITCH_OFFSET(float p0);

Parameters

NameTypeDescription
p0float—

Returns void

Usage

Lua
SetGameplayHintBaseOrbitPitchOffset(p0)

-- always works, by hash
Citizen.InvokeNative(0x421192A2DA48FD01, p0)
JavaScript and C#
JavaScript
SetGameplayHintBaseOrbitPitchOffset(p0);

// by hash
Citizen.invokeNative('0x421192A2DA48FD01', p0 + 0.0000001);
C#
Function.Call((Hash)0x421192A2DA48FD01, p0);
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.

Sources

alloc8or RDR3 NativeDB

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