How to Spawn Any Knife in CS2 via Console – Karambit, Butterfly Knife, Bayonet and More

How to Spawn Any Knife in CS2

Want to try out a Karambit, flip a Butterfly Knife, or check out the M9 Bayonet animation without spending thousands of rubles on a skin? Counter-Strike 2 has a simple solution for that. On a local server, you can spawn any knife from the game right in front of you. First, you need to drop your current knife to free up the weapon slot, then pick up the new one. In this guide, we will walk you through spawning any knife in CS2 via the console using the subclass_create command, provide all the current IDs, and show you how to change knives for everyone on the server at once.

How to Spawn Any Knife in CS2 via Console

Step-by-Step Instructions for Spawning a Knife

Counter-Strike 2 has removed the need to fumble around with replacing a dropped knife on the ground. There is now a direct command to create the item. Just remember that you can only carry one knife at a time, so you will have to throw away the old one. Here is a step-by-step breakdown.

  1. Launch a local server. Enter Practice mode or pick any workshop map. Open the console (the ` or ~ key) and activate cheats with sv_cheats 1.
  2. Allow knife dropping. Type mp_drop_knife_enable 1, then press G to throw your current default knife on the ground. Without this step, you will not be able to pick up a new knife.
  3. Create the new knife. Enter subclass_create 507 into the console (507 is the Karambit ID; replace it with any other code from the table below). The chosen knife will appear on the ground next to you.
  4. Pick it up. Simply walk over and press E (or your use key) to take the created knife. That is it – you now have your new knife.

Important: This method only works on a local server with cheats enabled. The knife will reset to the default one after you die or when a new round starts.

How to Create Any CS2 Knife via Console

To spawn any other knife, just replace the number in the subclass_create command with the corresponding code from the table. The command instantly generates the chosen model right at your feet. Do not forget to drop your current knife first.

ImageKnifeConsole Command
BayonetBayonetsubclass_create 500
Classic Knife ScorchedClassic Knife | Scorchedsubclass_create 503
Flip KnifeFlip Knifesubclass_create 505
Gut KnifeGut Knifesubclass_create 506
KarambitKarambitsubclass_create 507
M9 BayonetM9 Bayonetsubclass_create 508
Huntsman KnifeHuntsman Knifesubclass_create 509
Falchion KnifeFalchion Knifesubclass_create 512
Bowie KnifeBowie Knifesubclass_create 514
Butterfly KnifeButterfly Knifesubclass_create 515
Shadow DaggersShadow Daggerssubclass_create 516
Paracord KnifeParacord Knifesubclass_create 517
Survival KnifeSurvival Knifesubclass_create 518
Ursus KnifeUrsus Knifesubclass_create 519
Navaja KnifeNavaja Knifesubclass_create 520
Nomad KnifeNomad Knifesubclass_create 521
Stiletto KnifeStiletto Knifesubclass_create 522
Talon KnifeTalon Knifesubclass_create 523
Default Terrorist KnifeDefault Terrorist Knifesubclass_create 524
Skeleton KnifeSkeleton Knifesubclass_create 525
Kukri KnifeKukri Knifesubclass_create 526

How to Change Knives for All Players on the Server

How to Change Knives for All Players on the Server

If you want everyone on the server, including bots, to have the same knife, use the ent_fire command. It replaces the default knives for all players and bots simultaneously. There is no need to drop anything; the swap happens directly in the inventory. Just enter this into the console.

  • ent_fire weapon_knife changesubclass 507 – where 507 is the Karambit ID. Change it to any other code from the table.

To make sure the changes apply properly, players need to switch to any other weapon and then back to the knife. After that, everyone will see the new knife in their hands.

Bindings for Swapping Knives in CS2

Bindings for Swapping Knives in CS2

Knives reset to the default ones after you die or when a new round starts. To avoid typing commands every time, set up a bind – a key that executes the command for you. Here are two options.

  • For yourself: Create a bind that drops your current knife and then spawns a new one. For example, for the i key: bind "i" "mp_drop_knife_enable 1; drop; subclass_create 507". Pressing i will drop your old knife and instantly create a new one next to you – just pick it up.
  • For all players: bind "z" "ent_fire weapon_knife changesubclass 507" – pressing z will change knives for everyone on the server.

For convenience, it is best to use the numeric keypad (NUMPAD) keys. They are rarely used in combat and work perfectly for bindings.

If you frequently test different models, create several binds for different keys. For example.

  • bind "kp_1" "mp_drop_knife_enable 1; drop; subclass_create 507" – Karambit on NUMPAD 1
  • bind "kp_2" "mp_drop_knife_enable 1; drop; subclass_create 515" – Butterfly Knife on NUMPAD 2
  • bind "kp_3" "mp_drop_knife_enable 1; drop; subclass_create 508" – M9 Bayonet on NUMPAD 3

This way you can instantly spawn any knife and pick it up without getting distracted by typing long commands.

Quiz CS2 (FAQ)

Frequently Asked Questions (FAQ)

Why can I not pick up the spawned knife?
Most likely, you forgot to drop your current knife. In CS2, you can only carry one knife, so before spawning a new one, be sure to throw away the old one (enable mp_drop_knife_enable 1 and press G).
Can I spawn a knife with a skin (red, blue, etc.)?
No. The console commands only create the basic vanilla model without any skin. Finishes and patterns cannot be spawned through the console.
Why does the subclass_create command not work?
Check if cheats are enabled (sv_cheats 1). The command only works on a local server with cheats activated. Also make sure you are entering the correct ID without typos.
Do these commands work on official servers (matchmaking, Premier)?
No. Any command that requires sv_cheats 1 is disabled on official servers. They only work in practice modes and on local servers.
How can I quickly spawn a knife without typing the command every time?
Use a bind that automatically drops your old knife and spawns a new one (see the example in the Bindings section above).
Can I give a knife to other players on my server?
Yes, the ent_fire weapon_knife changesubclass XXX command changes knives for all players and bots at once. Alternatively, you could spawn a knife next to each player, but that would require extra steps.

Conclusion

Now you know the easiest and fastest way to spawn any knife in CS2 via the console. Use the subclass_create command, but do not forget to drop your current knife first – otherwise you will not be able to pick up the new one. For mass replacement on a server, use ent_fire weapon_knife changesubclass, and to avoid retyping commands after every death, set up binds with automatic dropping and spawning. All these tricks work in the current version of Counter-Strike 2 and let you test any knife model for free before deciding whether to buy it on the marketplace.

Useful CS2 Guides

Want to take a stylish screenshot with your knife like the one in our example? Check out our guide on hiding the HUD in CS2. We also recommend browsing other articles in the Guides section for fresh tutorials and helpful tips on the game.

How to get free skins for CS2?

We have prepared a large list of websites where you can get bonuses such as free cases, skins, or promo codes when topping up.

Where is the best place to sell skins from CS2?

We compared the price of one skin on various trading platforms to help you choose the most suitable one.

Which sites are worth opening cases on?

We analyzed case opening sites and compiled a ranking, evaluating them from best to worst based on the quality and profitability of skin drops.

Add a comment