RedM Natives

_GET_PED_GUN_SPINNING_HASH_FROM_WEAPON_EMOTE_VARIATION

Returns iSpinHash / iVariationSpin

Hash0xF3B1620B920D1708
Runtime nameGetPedGunSpinningHashFromWeaponEmoteVariation
NamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1355

Signature

Hash _GET_PED_GUN_SPINNING_HASH_FROM_WEAPON_EMOTE_VARIATION(Ped ped, int weaponEmoteVariation);

Parameters

NameTypeDescription
pedPed—
weaponEmoteVariationint—

Returns Hash

Description

Returns iSpinHash / iVariationSpin

Usage

Lua
local retval = GetPedGunSpinningHashFromWeaponEmoteVariation(ped, weaponEmoteVariation)

-- always works, by hash
local retval = Citizen.InvokeNative(0xF3B1620B920D1708, ped, weaponEmoteVariation, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetPedGunSpinningHashFromWeaponEmoteVariation(ped, weaponEmoteVariation);

// by hash
const retval = Citizen.invokeNative('0xF3B1620B920D1708', ped, weaponEmoteVariation, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xF3B1620B920D1708, ped, weaponEmoteVariation);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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