
Help
Command Reference
You can enter CS2D script commands in the console, save them in cfg-files or bind them to keys. CS2D script commands are no Lua commands but they can still be executed in Lua scripts by using the Lua parse-function!
Commands
Category: server (179)
setpos
Categories
server
Parameters
- player (1-32): id of a player
- x (0-X): x position (in pixels)
- y (0-X): y position (in pixels)
Info
Set a player at a certain position (as server only).
Note: You have to define a position. This position is defined in pixels and not in tiles. Each tile has a size of 32x32 pixels!






