The Lab
WEAPON native

_GET_PED_GUN_SPINNING_HASH_FROM_WEAPON_EMOTE_VARIATION

returns Hash2 paramsbuild 1355

Returns the gun spinning hash for the given weapon emote variation of the ped.

Signature

C
Hash _GET_PED_GUN_SPINNING_HASH_FROM_WEAPON_EMOTE_VARIATION(Ped ped, int weaponEmoteVariation); // 0xF3B1620B920D1708 b1355

Parameters

#NameType
1pedPed
2weaponEmoteVariationint

Facts

Facts about _GET_PED_GUN_SPINNING_HASH_FROM_WEAPON_EMOTE_VARIATION
Name
_GET_PED_GUN_SPINNING_HASH_FROM_WEAPON_EMOTE_VARIATION
Hash
0xF3B1620B920D1708
Namespace
Returns
Hash
Game build
1355

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local hash = Citizen.InvokeNative(0xF3B1620B920D1708, -- _GET_PED_GUN_SPINNING_HASH_FROM_WEAPON_EMOTE_VARIATION
  PlayerPedId(), -- Ped ped
  0, -- int weaponEmoteVariation
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0xF3B1620B920D1708", // _GET_PED_GUN_SPINNING_HASH_FROM_WEAPON_EMOTE_VARIATION
  PlayerPedId(), // Ped ped
  0, // int weaponEmoteVariation
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0xF3B1620B920D1708, // _GET_PED_GUN_SPINNING_HASH_FROM_WEAPON_EMOTE_VARIATION
  API.PlayerPedId(), // Ped ped
  0 // int weaponEmoteVariation
);
All WEAPON natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.