RedM Natives

_SET_WEAPON_HOLSTERED

Holster the holded shoulder weapon.

Hash0x4820A6939D7CEF28
Runtime nameSetWeaponHolstered
NamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_SET_PED_WEAPON_ON_BACK

Signature

void _SET_WEAPON_HOLSTERED(Ped ped, BOOL disableAnim);

Parameters

NameTypeDescription
pedPed—
disableAnimBOOL—

Returns void

Description

VORPCORE RDR3natives

Holster the holded shoulder weapon. Precisions: 0 means with anim while 1 means direct holster

Usage

Lua
SetWeaponHolstered(ped, disableAnim)

-- always works, by hash
Citizen.InvokeNative(0x4820A6939D7CEF28, ped, disableAnim)
JavaScript and C#
JavaScript
SetWeaponHolstered(ped, disableAnim);

// by hash
Citizen.invokeNative('0x4820A6939D7CEF28', ped, disableAnim);
C#
Function.Call((Hash)0x4820A6939D7CEF28, ped, disableAnim);
  • 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 · VORPCORE RDR3natives

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