_GET_WEAPON_EMOTE_VARIATION
Returns weaponEmoteVariation WEAPON_EMOTE_VARIATION_BASE, WEAPON_EMOTE_VARIATION_A, WEAPON_EMOTE_VARIATION_B, WEAPON_EMOTE_VARIATION_C, WEAPON_EMOTE_VARIATION_D, WEAPON_EMOTE_VARIATION_PREVIEW, WEAPON_EMOTE_NUM_VARIATIONS
Hash
0x86147D05FA831D3ARuntime name
GetWeaponEmoteVariationNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1355
Signature
int _GET_WEAPON_EMOTE_VARIATION(Ped ped, int variation);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
variation | int | — |
Returns int
Description
Returns weaponEmoteVariation
WEAPON_EMOTE_VARIATION_INVALID = -2,
WEAPON_EMOTE_VARIATION_BASE,
WEAPON_EMOTE_VARIATION_A,
WEAPON_EMOTE_VARIATION_B,
WEAPON_EMOTE_VARIATION_C,
WEAPON_EMOTE_VARIATION_D,
WEAPON_EMOTE_VARIATION_PREVIEW,
WEAPON_EMOTE_NUM_VARIATIONS
Usage
local retval = GetWeaponEmoteVariation(ped, variation)
-- always works, by hash
local retval = Citizen.InvokeNative(0x86147D05FA831D3A, ped, variation, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetWeaponEmoteVariation(ped, variation);
// by hash
const retval = Citizen.invokeNative('0x86147D05FA831D3A', ped, variation, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x86147D05FA831D3A, ped, variation);- 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.