The Lab
WEAPON native

_SET_PED_WEAPON_ATTACH_POINT_VISIBILITY

returns void3 paramsbuild 1207

Shows or hides the weapon at the given attach point of the ped.

Signature

C
void _SET_PED_WEAPON_ATTACH_POINT_VISIBILITY(Ped ped, int attachPoint, BOOL visible); // 0x67E21ACC5C0C970C b1207

Parameters

#NameType
1pedPed
2attachPointint
3visibleBOOL

Facts

Facts about _SET_PED_WEAPON_ATTACH_POINT_VISIBILITY
Name
_SET_PED_WEAPON_ATTACH_POINT_VISIBILITY
Hash
0x67E21ACC5C0C970C
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x67E21ACC5C0C970C, -- _SET_PED_WEAPON_ATTACH_POINT_VISIBILITY
  PlayerPedId(), -- Ped ped
  0, -- int attachPoint
  false -- BOOL visible
)
JavaScript
Citizen.invokeNative("0x67E21ACC5C0C970C", // _SET_PED_WEAPON_ATTACH_POINT_VISIBILITY
  PlayerPedId(), // Ped ped
  0, // int attachPoint
  false // BOOL visible
);
C#
Function.Call((Hash)0x67E21ACC5C0C970C, // _SET_PED_WEAPON_ATTACH_POINT_VISIBILITY
  API.PlayerPedId(), // Ped ped
  0, // int attachPoint
  false // BOOL visible
);
All WEAPON natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.