Commands/Lua

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

CS2D Command CS2D Console Commands

Category: all (371)

CS2D Command fps

Categories

Parameters

none

Info

Prints the current FPS value (frames per second) to the console.
CS2D's FPS are limited to 60.

Note: Useful to check if a server runs at maximum speed (60 FPS)

Note: Dedicated servers do not render frames so the term "FPS" is a bit misleading. They are still limited to 50 main game loop iterations per second which is meant by "FPS" when using this command on a dedicated server. If the value drops below 60 often it means that the server hardware can't keep up with the action going on on the server.

Lua Hook Lua Hooks

Lua Command Lua Commands