The Lab
WEAPON native

_0xF252A85B8F3F8C58

returns BOOL2 paramsbuild 1207

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

Signature

C
BOOL _0xF252A85B8F3F8C58(Hash weaponCollection, Hash dualwieldVariant); // 0xF252A85B8F3F8C58 b1207

Parameters

#NameType
1weaponCollectionHash
2dualwieldVariantHash

Facts

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

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