The Lab
WEAPON native

_IS_PED_CARRYING_BACKUP_WEAPON

returns BOOL2 paramsbuild 1232

Returns true if the ped is carrying a backup weapon at the given attach point.

Signature

C
BOOL _IS_PED_CARRYING_BACKUP_WEAPON(Ped ped, int attachPoint); // 0x486C96A0DCD2BC92 b1232

Parameters

#NameType
1pedPed
2attachPointint

Facts

Facts about _IS_PED_CARRYING_BACKUP_WEAPON
Name
_IS_PED_CARRYING_BACKUP_WEAPON
Hash
0x486C96A0DCD2BC92
Namespace
Returns
BOOL
Game build
1232

Examples

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

Lua
local result = Citizen.InvokeNative(0x486C96A0DCD2BC92, -- _IS_PED_CARRYING_BACKUP_WEAPON
  PlayerPedId(), -- Ped ped
  0 -- int attachPoint
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x486C96A0DCD2BC92", // _IS_PED_CARRYING_BACKUP_WEAPON
  PlayerPedId(), // Ped ped
  0, // int attachPoint
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x486C96A0DCD2BC92, // _IS_PED_CARRYING_BACKUP_WEAPON
  API.PlayerPedId(), // Ped ped
  0 // int attachPoint
);
All WEAPON natives

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