Commands/Lua

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

CS2D Command CS2D Console Commands

Category: server (201)

CS2D Command shake

Categories

Parameters

  • player (1-32): player who will have a shaking screen
  • power (0-X): Shake power

Info

Shake a player (as server only). The maximum power/intensity is 30. However you can use higher values for a longer shake.

A power of 50 equals one second (100=2 sec, 150=3 sec, 200=4 sec, etc.)

Lua Hook Lua Hooks

Lua Command Lua Commands