RedM Natives

_SET_PED_WEAPON_ATTACH_POINT_VISIBILITY

Hash0x67E21ACC5C0C970C
Runtime nameSetPedWeaponAttachPointVisibility
NamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PED_WEAPON_ATTACH_POINT_VISIBILITY(Ped ped, int attachPoint, BOOL visible);

Parameters

NameTypeDescription
pedPed—
attachPointint—
visibleBOOL—

Returns void

Description

attachPoint: see SET_CURRENT_PED_WEAPON

Usage

Lua
SetPedWeaponAttachPointVisibility(ped, attachPoint, visible)

-- always works, by hash
Citizen.InvokeNative(0x67E21ACC5C0C970C, ped, attachPoint, visible)
JavaScript and C#
JavaScript
SetPedWeaponAttachPointVisibility(ped, attachPoint, visible);

// by hash
Citizen.invokeNative('0x67E21ACC5C0C970C', ped, attachPoint, visible);
C#
Function.Call((Hash)0x67E21ACC5C0C970C, ped, attachPoint, visible);
  • 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.

Enums and flags

Sources

alloc8or RDR3 NativeDB

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