Counter-Strike 2DGet it now!

Code 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!

Lua Lua Reference

Lua scripting (server-sided) allows server hosters and mappers to modify the game and to add new elements.

Lua Hooks


Category: player (39)


die

Categories

Player

Parameters

  • victim: player id
  • killer: player id
  • weapon: weapon type id
  • x: death x (pixels)
  • y: death y (pixels)

Info

on death

Return Values

  • 0: proceed normally
  • 1: drop bomb/flag only

Lua Commands