REE.Data.Weapons - REE-FiveM/ree-core GitHub Wiki

REE.Data.Weapons

The following tables are available for looking up different types of weapons. They're separated by weapon type for programmatic ease.

Code example:

local ped = GetPlayerPed(PlayerId())

-- give all weapons to player
for k, weaponId in pairs(REE.Data.Weapons.Melee) do
  GiveWeaponToPed(ped, weaponId, 100, false, false)
end

REE.Data.Weapons.Melee

Available melee and held weapons:

  • UNARMED
  • KNIFE
  • NIGHTSTICK
  • HAMMER
  • BAT
  • CROWBAR
  • GOLF_CLUB
  • BOTTLE
  • DAGGER
  • HATCHET
  • KNUCKLE_DUSTER
  • MACHETE
  • FLASHLIGHT
  • SWITCH_BLADE
  • POOLCUE
  • WRENCH
  • BATTLEAXE

REE.Data.Weapons.Handguns

Available handgun weapons:

  • PISTOL
  • PISTOL_MK2
  • COMBAT_PISTOL
  • PISTOL_50CAL
  • SNS_PISTOL
  • HEAVY_PISTOL
  • VINTAGE_PISTOL
  • MARKSMAN_PISTOL
  • REVOLVER
  • AP_PISTOL
  • STUN_GUN
  • FLARE_GUN

REE.Data.Weapons.MachineGuns

Available machine guns:

  • MICRO_SMG
  • MACHINE_PISTOL
  • SMG
  • SMG_MK2
  • ASSAULT_SMG
  • COMBAT_PDW
  • MACHINE_GUN
  • COMBAT_MACHINE_GUN
  • COMBAT_MACHINE_GUN_MK2
  • GUSENBERG
  • MINI_SMG

REE.Data.Weapons.AssaultRifles

Available assault rifles:

  • ASSAULT_RIFLE
  • ASSAULT_RIFLE_MK2
  • CARBINE_RIFLE
  • CARBINE_RIFLE_MK2
  • ADVANCED_RIFLE
  • SPECIAL_CARBINE
  • BULLPUP_RIFLE
  • COMPACT_RIFLE

REE.Data.Weapons.SniperRifles

Available sniper rifles:

  • SNIPER_RIFLE
  • HEAVY_SNIPER_RIFLE
  • HEAVY_SNIPER_RIFLE_MK2
  • MARKSMAN_RIFLE

REE.Data.Weapons.Shotguns

Available shotguns:

  • PUMP_SHOTGUN
  • SAWN_OFF_SHOTGUN
  • BULLPUP_SHOTGUN
  • ASSAULT_RIFLE
  • MUSKET
  • HEAVY_SHOTGUN
  • DOUBLE_BARREL_SHOTGUN
  • AUTO_SHOTGUN

REE.Data.Weapons.HeavyWeapons

Available heavy weapons:

  • GRENADE_LAUNCHER
  • RPG
  • MINIGUN
  • FIREWORK
  • RAILGUN
  • HOMING_LAUNCHER
  • SMOKE_GRENADE_LAUNCHER
  • COMPACT_LAUNCHER

REE.Data.Weapons.ThrownWeapons

Available thrown weapons:

  • GRENADE
  • STICKY_BOMB
  • PROXIMITY_MINE
  • BZ_GAS
  • MOLOTOV
  • FIRE_EXTINGUISHER
  • PETROL_CAN
  • FLARE
  • BALL
  • SNOWBALL
  • SMOKE_GRENADE
  • PIPE_BOMB

REE.Data.Weapons.Parachutes

Available parachutes:

  • PARACHUTE