_IS_PED_CARRYING_BACKUP_WEAPON
Returns true if the ped is carrying a backup weapon at the specified attach point.
Hash
0x486C96A0DCD2BC92Runtime name
IsPedCarryingBackupWeaponNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1232
Signature
BOOL _IS_PED_CARRYING_BACKUP_WEAPON(Ped ped, int attachPoint);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
attachPoint | int | — |
Returns BOOL
Description
Returns true if the ped is carrying a backup weapon at the specified attach point. Use GET_PED_BACKUP_WEAPON to get the weapon hash.
true if there is a back up ped weapon get it using GET_PED_BACKUP_WEAPON
Usage
local retval = IsPedCarryingBackupWeapon(ped, attachPoint)
-- always works, by hash
local retval = Citizen.InvokeNative(0x486C96A0DCD2BC92, ped, attachPoint, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedCarryingBackupWeapon(ped, attachPoint);
// by hash
const retval = Citizen.invokeNative('0x486C96A0DCD2BC92', ped, attachPoint, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x486C96A0DCD2BC92, ped, attachPoint);- 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.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.