_GET_PED_GUN_SPINNING_HASH_FROM_WEAPON_EMOTE_VARIATION
Returns iSpinHash / iVariationSpin
Hash
0xF3B1620B920D1708Runtime name
GetPedGunSpinningHashFromWeaponEmoteVariationNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1355
Signature
Hash _GET_PED_GUN_SPINNING_HASH_FROM_WEAPON_EMOTE_VARIATION(Ped ped, int weaponEmoteVariation);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
weaponEmoteVariation | int | — |
Returns Hash
Description
Returns iSpinHash / iVariationSpin
Usage
local retval = GetPedGunSpinningHashFromWeaponEmoteVariation(ped, weaponEmoteVariation)
-- always works, by hash
local retval = Citizen.InvokeNative(0xF3B1620B920D1708, ped, weaponEmoteVariation, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPedGunSpinningHashFromWeaponEmoteVariation(ped, weaponEmoteVariation);
// by hash
const retval = Citizen.invokeNative('0xF3B1620B920D1708', ped, weaponEmoteVariation, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.