weapon_rifle_varmint
weapon_rifle_varmint is a RedM weapon in the group_rifle group. Its weapon hash is 0xDDF7BC1E (-570967010 as a signed integer). Give it to a ped with GiveWeaponToPed.
Hash and facts
| Name | weapon_rifle_varmint |
|---|---|
| Hash (hex) | 0xDDF7BC1E |
| Signed | -570967010 |
| Unsigned | 3724000286 |
| Weapon group | group_rifle |
| Group hash | 0x39D5C192 |
Give it to a ped
local weapon = 0xDDF7BC1E -- weapon_rifle_varmint
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 = -570967010 // 0xDDF7BC1E, weapon_rifle_varmint
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 = 0xDDF7BC1E; // weapon_rifle_varmint
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.