The Lab
WEAPON native

_0x07E1C35F0078C3F9

returns BOOL2 paramsbuild 1207

This WEAPON native has no community name yet, so it is known by its hash 0x07E1C35F0078C3F9. It takes 2 parameters (ped as Ped, weapon as Hash) and returns a BOOL.

Signature

C
BOOL _0x07E1C35F0078C3F9(Ped ped, Hash weapon); // 0x07E1C35F0078C3F9 b1207

Parameters

#NameType
1pedPed
2weaponHash

Facts

Facts about _0x07E1C35F0078C3F9
Name
_0x07E1C35F0078C3F9
Hash
0x07E1C35F0078C3F9
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(0x07E1C35F0078C3F9, -- _0x07E1C35F0078C3F9
  PlayerPedId(), -- Ped ped
  GetHashKey("weapon_revolver_cattleman") -- Hash weapon
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x07E1C35F0078C3F9", // _0x07E1C35F0078C3F9
  PlayerPedId(), // Ped ped
  GetHashKey("weapon_revolver_cattleman"), // Hash weapon
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x07E1C35F0078C3F9, // _0x07E1C35F0078C3F9
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("weapon_revolver_cattleman") // Hash weapon
);
All WEAPON natives

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