RedM Natives

SET_GAMEPLAY_HINT_CAMERA_RELATIVE_SIDE_OFFSET

Old name: _SET_GAMEPLAY_HINT_ANIM_OFFSETX

Hash0xF86B6F93727C59C9
Runtime nameSetGameplayHintCameraRelativeSideOffset
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x5D7B620DAE436138

Signature

void SET_GAMEPLAY_HINT_CAMERA_RELATIVE_SIDE_OFFSET(float p0);

Parameters

NameTypeDescription
p0float—

Returns void

Description

Old name: _SET_GAMEPLAY_HINT_ANIM_OFFSETX

Usage

Lua
SetGameplayHintCameraRelativeSideOffset(p0)

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

// by hash
Citizen.invokeNative('0xF86B6F93727C59C9', p0 + 0.0000001);
C#
Function.Call((Hash)0xF86B6F93727C59C9, 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.