Commands/Lua

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

CS2D Command CS2D Console Commands

Lua Hook Lua Hooks

Category: player (56)

Lua Hook bombexplode

Categories

Parameters

  • id: player id (who planted the bomb)
  • x: explosion x (tiles)
  • y: explosion y (tiles)

Info

When a bomb (de-maps) explodes.

Return Values

  • 0: proceed normally
  • 1: don't explode

Lua Command Lua Commands