Commands/Lua

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

CS2D Command CS2D Console Commands

Category: server (201)

CS2D Command flashposition

Categories

Parameters

  • x (0-X): x position in pixels
  • y (0-X): y position in pixels
  • intensity (0-100): flash intensity

Info

Flash all players who are close to the position + which have a direct line of sight to this position (without wall).
Pretty similar to the explosion of a flashbang.

Lua Hook Lua Hooks

Lua Command Lua Commands