SlashCo Wiki

SlashCo.EndRound

  SlashCo.EndRound()

Description

This is used internally - although you're able to use it you probably shouldn't.
Ends the current round, shows the round-over screen to all players, awards round points and win statistics, and calls the SlashCo:EndRound hook.
After a short delay it removes the round entities, resets the round data and moves the server back to the lobby via SlashCo.GoToLobby.
Does nothing if g_SlashCoDebug is set or if the round has already been ended.