💜
Sakura
  • 👋Welcome
  • Information
    • 🎯Quick start
    • ⚜️Common knowledge
    • 💾Examples
      • *️Rendering menus, windows
  • documentation
    • 🪝Hooks
    • ⚙️Variables
      • 🍎Weapon ids
      • 🍎Inputs
      • 🍎Keys
      • 🍎Flags
      • 🍎ImGui Window Flags
    • 📛Namespaces
      • 🍏Game
      • 🍏ImGui (Menu)
      • 🍏Render
      • 🍏Local Player
      • 🍏Player
      • 🍏Notify
Powered by GitBook
On this page
  1. documentation
  2. Variables

Weapon ids

Defines the available weapon IDs in the game

WEAPON_NONE
WEAPON_P228
WEAPON_GLOCK
WEAPON_SCOUT
WEAPON_HEGRENADE
WEAPON_XM1014
WEAPON_C4
WEAPON_MAC10
WEAPON_AUG
WEAPON_SMOKEGRENADE
WEAPON_ELITE
WEAPON_FIVESEVEN
WEAPON_UMP45
WEAPON_SG550
WEAPON_GALIL
WEAPON_FAMAS
WEAPON_USP
WEAPON_GLOCK18
WEAPON_AWP
WEAPON_MP5N
WEAPON_M249
WEAPON_M3
WEAPON_M4A1
WEAPON_TMP
WEAPON_G3SG1
WEAPON_FLASHBANG
WEAPON_DEAGLE
WEAPON_SG552
WEAPON_AK47
WEAPON_KNIFE
WEAPON_P90
WEAPON_SHIELDGUN

-- Example usage:
if LocalPlayer.GetWeaponID() == WEAPON_KNIFE then
    -- Some code
end
PreviousVariablesNextInputs

Last updated 2 years ago

⚙️
🍎