Jump to content

Counter-Strike Source entity issue


TorQueMoD

Recommended Posts

Hey guys! Trying to make a new map for CS and I was wondering if any of you know of any way to have the round time set to 0 after triggering an event.

Basically after this specific event happens, I want the round to end.

If anyone knows how to do this you will be my hero forever and I will have your babies. Even though I have junk, I'll figure out a way somehow :P

Thanks!

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

The console command you want is simple enough it is:

endround

While this may seem obvious in hindsight, it took me a long time to realize this myself. I only found it after mindlessly scrolling through cvars for awhile when I was bored.

If you want to have an entity to trigger this then add in the point entity point_servercommand to your map with the output Command and the parameter endround. One of the main advantages that this cvar has over similar ones (like mp_restartgame) is that all the player's scores remain intact and mp_timelimit isn't reset.

Link to comment
Share on other sites

×
×
  • Create New...