The Lab
WEAPON native

_ENABLE_WEAPON_RESTORE

returns BOOL1 parambuild 1207

Based on its name and signature, here is our best reading:

Appears to enable restoring the ped's weapons. Exact behavior is not documented.

Signature

C
BOOL _ENABLE_WEAPON_RESTORE(Ped ped); // 0xC395355843BE134B b1207

Parameters

#NameType
1pedPed

Facts

Facts about _ENABLE_WEAPON_RESTORE
Name
_ENABLE_WEAPON_RESTORE
Hash
0xC395355843BE134B
Namespace
Returns
BOOL
Game build
1207

Examples

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

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

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