RedM Natives

SET_PLAYER_SIMULATE_AIMING

Hash0xE0447DEF81CCDFD2
Runtime nameSetPlayerSimulateAiming
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xC54C95DA968EC5B5

Signature

void SET_PLAYER_SIMULATE_AIMING(Player player, BOOL toggle);

Parameters

NameTypeDescription
playerPlayer—
toggleBOOL—

Returns void

Usage

Lua
SetPlayerSimulateAiming(player, toggle)

-- always works, by hash
Citizen.InvokeNative(0xE0447DEF81CCDFD2, player, toggle)
JavaScript and C#
JavaScript
SetPlayerSimulateAiming(player, toggle);

// by hash
Citizen.invokeNative('0xE0447DEF81CCDFD2', player, toggle);
C#
Function.Call((Hash)0xE0447DEF81CCDFD2, player, toggle);

Sources

alloc8or RDR3 NativeDB

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