Commands/Lua

Reference for console commands, Lua hooks and Lua commands in CS2D.

CS2D Command CS2D Console Commands

Category: all (371)

CS2D Command weapon

Categories

Parameters

  • weapon (ID or name of a weapon): the weapon you want to use

Info

Use/select a certain weapon by its name or by its ID.

Weapon and item IDs:
items

Note: You already have to own the weapon you want to select with this command!

Note: Use setweapon (server only) to change the weapon of another player!

Lua Hook Lua Hooks

Lua Command Lua Commands