
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
Lua Reference
Lua scripting (server-sided) allows server hosters and mappers to modify the game and to add new elements.
Lua Hooks
Category: basic (11)
endround
Categories
Basic
Parameters
- mode: start/end mode id
Info
on end of round
Possible modes
Possible modes
- 1=Terrorist win (elimination)
- 10=VIP killed (as_ maps)
- 12=VIP did not escape (as_ maps)
- 20=Bomb detonated (de_ maps)
- 30=Hostages protected (cs_ maps)
- 40=Blue flag captured (ctf_ maps)
- 50=All points dominated by T (dom_ maps)
- 60=All humans killed (Zombies! game mode)
- 2=Counter-Terrorist win (elimination)
- 11=VIP escaped (as_ maps)
- 21=Bomb defused (de_ maps)
- 22=Bombsite protected (de_ maps)
- 31=Hostages rescued (cs_ maps)
- 41=Red flag captured (ctf_ maps)
- 51=All points dominated by CT (dom_ maps)
- 61=Survivors survived (Zombies! game mode)
- 3=Round draw
- 4=Game commencing
- 5=Round restart
Return Values
none - related action(s) [if there are any] performed by CS2D cannot be altered/omitted






