Commands/Lua

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

CS2D Command CS2D Console Commands

Category: all (371)

CS2D Command speedmod

Categories

Parameters

  • player (1-32): id of a player
  • speedmod (-100-100): speed modifier

Info

Modify the speed of a player (as server only).

The speed modifier ranges from -100 to 100. -100 means no movement, 0 is regular speed and 100 is very fast movement.

Note: You have to use speedmod after each spawn because spawning resets the speedmod to 0!

Lua Hook Lua Hooks

Lua Command Lua Commands