The Lab
RedM weapon

weapon_melee_machete_horror

0x74715931group_melee

weapon_melee_machete_horror is a RedM weapon in the group_melee group. Its weapon hash is 0x74715931 (1953585457 as a signed integer). Give it to a ped with GiveWeaponToPed.

Hash and facts

Facts about weapon_melee_machete_horror
Name
weapon_melee_machete_horror
Hash (hex)
0x74715931
Signed
1953585457
Unsigned
1953585457
Weapon group
group_melee
Group hash
0xD49321D4

Give it to a ped

Lua
local weapon = 0x74715931 -- weapon_melee_machete_horror
local ped = PlayerPedId()
Citizen.InvokeNative(0x5E3BDDBCB83F3D84, -- GIVE_WEAPON_TO_PED
  ped, weapon, 50, -- ped, weapon hash, ammo
  true, false, 0, false, -- force in hand, force in holster, attach point, allow copies
  0.5, 1.0, 0x2CD419DC, -- p7, p8, add reason (ADD_REASON_DEFAULT)
  false, 0.0, false) -- ignore unlocks, permanent degradation, p12
JavaScript
const f = (n) => n + 0.0000001 // whole JS numbers are sent as integers
const weapon = 1953585457 // 0x74715931, weapon_melee_machete_horror
const ped = PlayerPedId()
Citizen.invokeNative("0x5E3BDDBCB83F3D84", // GIVE_WEAPON_TO_PED
  ped, weapon, 50, // ped, weapon hash, ammo
  true, false, 0, false, // force in hand, force in holster, attach point, allow copies
  0.5, f(1), 752097756, // p7, p8, add reason (ADD_REASON_DEFAULT)
  false, 0.0, false) // ignore unlocks, permanent degradation, p12
C#
uint weapon = 0x74715931; // weapon_melee_machete_horror
int ped = Function.Call<int>((Hash)0x096275889B8E0EE0); // PLAYER_PED_ID
Function.Call((Hash)0x5E3BDDBCB83F3D84, // GIVE_WEAPON_TO_PED
    ped, weapon, 50,                 // ped, weapon hash, ammo
    true, false, 0, false,           // force in hand, force in holster, attach point, allow copies
    0.5f, 1.0f, 0x2CD419DCu,         // p7, p8, add reason (ADD_REASON_DEFAULT)
    false, 0f, false);               // ignore unlocks, permanent degradation, p12
All weapons

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