Commands/Lua

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

CS2D Command CS2D Console Commands

Category: server (199)

CS2D Command mp_buytime

Categories

Parameters

  • time (0-1000000): buytime in minutes (floats allowed!)

Info

Control how long players are allowed to buy equipment after roundstart.
Value in minutes! You can use floats!
Examples:
0.25 = 0.25*60 Sec = 15 Sec
0.5 = 0.5*60 Sec = 30 Sec
2 = 2*60 = 120 Sec

Lua Hook Lua Hooks

Lua Command Lua Commands