_SET_PED_WEAPON_ATTACH_POINT_VISIBILITY
Hash
0x67E21ACC5C0C970CRuntime name
SetPedWeaponAttachPointVisibilityNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PED_WEAPON_ATTACH_POINT_VISIBILITY(Ped ped, int attachPoint, BOOL visible);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
attachPoint | int | — |
visible | BOOL | — |
Returns void
Description
attachPoint: see SET_CURRENT_PED_WEAPON
Usage
SetPedWeaponAttachPointVisibility(ped, attachPoint, visible)
-- always works, by hash
Citizen.InvokeNative(0x67E21ACC5C0C970C, ped, attachPoint, visible)JavaScript and C#
SetPedWeaponAttachPointVisibility(ped, attachPoint, visible);
// by hash
Citizen.invokeNative('0x67E21ACC5C0C970C', ped, attachPoint, visible);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
InvokeNativewith the hash — it always works.
Enums and flags
- eWeaponAttachPoint 33 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.