Skip to content

Improved WeaponClass, WeaponID, WeaponType, and WeaponSlot for CS:GO/CS:S. #478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 19, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added WeaponSlot to CS:GO.
Added WeaponType to CS:GO.
  • Loading branch information
CookStar committed Jun 6, 2023
commit 5002c6df5a9a56c53c6fb17a84a3fcc4a8c1e800
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ../data/source-python/weapons/constants/csgo/WeaponSlot.ini

PRIMARY = 0
SECONDARY = 1
KNIFE = 2
GRENADE = 3
C4 = 4
SHIELD = 11
TABLET = 12
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# ../data/source-python/weapons/constants/csgo/WeaponType.ini

KNIFE = 0
PISTOL = 1
SMG = 2
SUBMACHINEGUN = 2
RIFLE = 3
SHOTGUN = 4
SNIPERRIFLE = 5
SNIPER = 5
MACHINEGUN = 6
MG = 6
C4 = 7
EXPLOSIVE = 7
TASER = 8
GRENADE = 9
EQUIPMENT = 10
STACKABLEITEM = 11
FISTS = 12
BREACHCHARGE = 13
BUMPMINE = 14
TABLET = 15
MELEE = 16
SHIELD = 17
ZONEREPULSOR = 18
UNKNOWN = 19