The Lab
WEAPON native

_SET_FORCE_AUTO_EQUIP

returns void2 paramsbuild 1207

Sets whether the ped is forced to automatically equip weapons.

Signature

C
void _SET_FORCE_AUTO_EQUIP(Ped ped, BOOL toggle); // 0xBE711B14A159E84F b1207

Parameters

#NameType
1pedPed
2toggleBOOL

Facts

Facts about _SET_FORCE_AUTO_EQUIP
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.

Lua
Citizen.InvokeNative(0xBE711B14A159E84F, -- _SET_FORCE_AUTO_EQUIP
  PlayerPedId(), -- Ped ped
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0xBE711B14A159E84F", // _SET_FORCE_AUTO_EQUIP
  PlayerPedId(), // Ped ped
  false // BOOL toggle
);
C#
Function.Call((Hash)0xBE711B14A159E84F, // _SET_FORCE_AUTO_EQUIP
  API.PlayerPedId(), // Ped ped
  false // BOOL toggle
);
All WEAPON natives

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