Commands/Lua

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

CS2D Command CS2D Console Commands

Lua Hook Lua Hooks

Category: all (79)

Lua Hook bombplant

Categories

Parameters

  • id: player id
  • x: bomb x (tiles)
  • y: bomb y (tiles)

Info

When a bomb is about to be planted. AFTER the planting progress bar became full.

Return Values

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

Lua Command Lua Commands