-
Jun 26, 2011, 02:49 PM
#1
Newbie
Add mp_maxrounds left to the timeleft commands.
I'd do it myself, but I can't find anything in regards to the timeleft command in any of the lua files. So my suggestion is to add the number of rounds left to the timeleft command if mp_maxrounds is set in server.cfg. I have a payload maps server and I have the mp_timelimit value set to 0 and mp_maxrounds set to 2 to allow both teams to play at least one round before changing the map. At the moment, if you type timeleft in chat, it simply displays 0 minutes. I'd like it to show something like "Map will change in 120 minutes or after 2 rounds." / "Map will change in 120 minutes or after this round." If the mp_timelimit cvar is set to 0, just have the maxrounds portion display.