
Help
Command Reference
You can enter CS2D script commands in the console, save them in cfg-files or bind them to keys. CS2D script commands are no Lua commands but they can still be executed in Lua scripts by using the Lua parse-function!
Commands
Category: all (342)
strip
Categories
server
Parameters
- player (1-32): id of a player
- weapon (1-255): type id of a weapon
Info
Remove a weapon from a player (as server only).
Weapon and item IDs:

Weapon and item IDs:

Attention: You cannot remove all weapons! The player always has to have at least one weapon. The game will automatically equip the standard melee weapon (knife with id 50 in most game modes) if there is no weapon left! Do not try to strip all weapons. Its an invalid game state that might lead to problems!






