weapon_melee_knife_trader
weapon_melee_knife_trader is a RedM weapon in the group_melee group. Its weapon hash is 0xA9A4C967 (-1448818329 as a signed integer). Give it to a ped with GiveWeaponToPed.
Hash and facts
| Name | weapon_melee_knife_trader |
|---|---|
| Hash (hex) | 0xA9A4C967 |
| Signed | -1448818329 |
| Unsigned | 2846148967 |
| Weapon group | group_melee |
| Group hash | 0xD49321D4 |
Give it to a ped
local weapon = 0xA9A4C967 -- weapon_melee_knife_trader
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, p12const f = (n) => n + 0.0000001 // whole JS numbers are sent as integers
const weapon = -1448818329 // 0xA9A4C967, weapon_melee_knife_trader
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, p12uint weapon = 0xA9A4C967; // weapon_melee_knife_trader
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, p12Related weapons
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.