
How to Use !Gen Code System for CS2 Weapon Skins
A !gen code is a text command used to generate custom weapon skins in CS2. Here's how to use it effectively:
Understanding the Code Structure:
- Weapon ID: Identifies the specific weapon
- Skin ID: Determines which skin to apply
- Pattern Index: Controls texture application
- Float Value: Sets wear level (0-1)
Basic Command Format: !gen [Weapon ID] [Skin ID] [Pattern Index] [Float Value]
Common Weapon IDs:
Knives:
- Bayonet: 500
- Butterfly: 515
- Karambit: 507
- CT Knife: 42
Pistols:
- Desert Eagle: 1
- Glock-18: 4
- USP-S: 61
- P2000: 32
Rifles:
- AK-47: 7
- AWP: 9
- M4A4: 16
- M4A1-S: 60
Float Values (Wear Levels):
- Factory New: 0.00 – 0.07
- Minimal Wear: 0.07 – 0.15
- Field-Tested: 0.15 – 0.37
- Well-Worn: 0.37 – 0.44
- Battle-Scarred: 0.44 – 1.00
Pro Tips:
- Use tradeit.gg to find specific float values and patterns
- Experiment with different pattern indexes for unique looks
- Lower float values generally mean better condition and higher value
Implementation Steps:
- Find your desired weapon ID
- Choose the skin ID
- Select a pattern index
- Set your preferred float value
- Enter the command in-game chat

Man wearing headphones at desk

Tradeit signup bonus $5
Related Articles

How to Open CS:GO Cases: A Step-by-Step Guide for Players
