_SET_FORCE_AUTO_EQUIP
Sets whether the ped is forced to automatically equip weapons.
Signature
void _SET_FORCE_AUTO_EQUIP(Ped ped, BOOL toggle); // 0xBE711B14A159E84F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | toggle | BOOL |
Facts
| Name | _SET_FORCE_AUTO_EQUIP |
|---|---|
| Hash | 0xBE711B14A159E84F |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xBE711B14A159E84F, -- _SET_FORCE_AUTO_EQUIP
PlayerPedId(), -- Ped ped
false -- BOOL toggle
)Citizen.invokeNative("0xBE711B14A159E84F", // _SET_FORCE_AUTO_EQUIP
PlayerPedId(), // Ped ped
false // BOOL toggle
);Function.Call((Hash)0xBE711B14A159E84F, // _SET_FORCE_AUTO_EQUIP
API.PlayerPedId(), // Ped ped
false // BOOL toggle
);Related WEAPON natives
- _SET_FORCE_CURRENT_WEAPON_INTO_COCKED_STATE
- _SET_ACTIVE_GUN_SPINNING_EQUIP_KIT_EMOTE_TWIRL
- SET_INSTANTLY_EQUIP_WEAPON_PICKUPS
- _SET_ACTIVE_GUN_SPINNING_KIT_EMOTE_TWIRL
- _SET_ALLOW_DUAL_WIELD
- _SET_AMMO_IN_TURRET
- _SET_AMMO_TYPE_FOR_PED_WEAPON
- _SET_AMMO_TYPE_FOR_PED_WEAPON_INVENTORY
- _SET_ARROW_TRAIL_FX
- _SET_GUN_SPINNING_INVENTORY_SLOT_ID_ACTIVATE
- _SET_INSTANTLY_STORE_LONGARMS_ON_DISMOUNT
- _SET_PED_ALL_WEAPONS_VISIBILITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.