Commands/Lua

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

CS2D Command CS2D Console Commands

Lua Hook Lua Hooks

Lua Command Lua Commands

Lua Command ai_freeline

Categories

Parameters

  • id
  • x
  • y

Info

Checks if there is a free line between the bot with the given ID and the given position (x|y) (in pixels).