Lua API
  • 🔎Overview
  • Introduction
    • 🚀Creating scripts
      • 🧠First Steps
      • 🖥️Adding UI
      • 📚Creating Libraries
  • API
    • 🌐Global Functions
    • ⚙️Instances
      • 🔢Math
      • ☎️Events
        • event_t
      • 🎮Game
        • global_vars_t
        • cengine_client
          • cnet_chan
        • ccsgo_input
        • cinput_system
        • cgame_ui_funcs
        • ccvar
          • convar
      • 🕹️Mods
        • events_t
      • ✏️Draw
        • ⚙️Types
          • ⚙️rect
          • ⚙️vec2
          • ⚙️color
          • ⚙️accessor
        • 🖥️Adapter
        • ✏️Layer
          • outline_mode
          • rounding
          • glow_parts
          • text_params
            • text_alignment
          • shadow_dir
          • command
            • render_mode
        • 🖼️Managed
          • 🖼️texture
            • svg_texture
            • animated_texture
          • 🖼️shader
          • ™️font_base
            • font
            • font_gdi
            • glyph_t
            • font_flags
      • 🙋Entities
        • entity_list_t
          • entity_entry_t
        • base_entity
          • schema_accessor_t
          • cs2_weapon_base_gun
          • cs2_player_pawn
          • cs2_player_controller
          • cs2_weapon_base
          • cs2_grenade_projectile
        • ccsweapon_base_vdata
          • cfiring_mode
        • chandle
        • csweapon_mode
        • csweapon_type
        • weapon_id
        • csweapon_category
        • observer_mode_t
      • 🖥️Gui
        • ⚙️Types
          • ⚙️bits
          • ⚙️control_id
        • context
          • user_t
        • context_input
          • mouse_button
        • notification_system
          • notification
        • control
          • control_type
          • value_param
          • checkbox
          • slider
          • label
          • selectable
          • button
          • color_picker
          • spacer
          • text_input
          • combo_box
          • image
        • container
          • control_container
            • layout
            • group
      • ⚙️Utils
    • ⚙️Types
      • ⚙️ptr
      • ⚙️ref_holder_t
      • ⚙️vector
      • ⚙️vector4d
      • 🎮veccolor
      • 🎮color
      • 🎮cview_setup
      • 🎮cuser_cmd
      • 🎮game_event_t
    • 🟰Enums
      • 🟰client_frame_stage
      • 🟰input_bit_mask
Powered by GitBook

© 2025 - FATALITY

On this page
  • knife
  • pistol
  • submachinegun
  • rifle
  • shotgun
  • sniper_rifle
  • machinegun
  • c4
  • taser
  • grenade
  • stackableitem
  • fists
  • breachcharge
  • bumpmine
  • tablet
  • melee
  • shield
  • zone_repulsor
  • unknown
Export as PDF
  1. API
  2. Instances
  3. Entities

csweapon_type

This enum represents the weapon type in the game.

knife

Represents a knife-type weapon.


pistol

Represents a pistol-type weapon.


submachinegun

Represents a submachine gun-type weapon.


rifle

Represents a rifle-type weapon.


shotgun

Represents a shotgun-type weapon.


sniper_rifle

Represents a sniper rifle-type weapon.


machinegun

Represents a machine gun-type weapon.


c4

Represents a C4 explosive.


taser

Represents a taser weapon.


grenade

Represents a grenade-type weapon.


stackableitem

Represents a stackable item-type weapon.


fists

Represents fists as a weapon type.


breachcharge

Represents a breach charge-type weapon.


bumpmine

Represents a bump mine-type weapon.


tablet

Represents a tablet-type weapon.


melee

Represents a melee-type weapon.


shield

Represents a shield-type weapon.


zone_repulsor

Represents a zone repulsor-type weapon.


unknown

Represents an unknown weapon type.

Previouscsweapon_modeNextweapon_id

Last updated 3 months ago

⚙️
🙋