Command ReferenceYou 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!
Lua ReferenceLua scripting (server-sided) allows server hosters and mappers to modify the game and to add new elements.
Category: all (66)
Bot with given ID selects the weapon specified with itemtype (must be an integer ID, not the name of the weapon!).
Note: The weapon has to be in the inventory of that bot already. Otherwise nothing will happen!