[Resolved]specific g_types/maps dependant on amount of players.
6. February 2011 - 13:09
Anyone know if this is possible?
i want to be able to exec server side commands based on number of active players.
example: if 10 players on server i want to auto switch from ffa to tdm and start a map suitable for g_type/amount of players.
if players = 10 then g_type 3 and q3dm11 <- how to code this into server cfg?
hope this makes sense to all you techs out there and hopefuly someone can give me an easy workaround.
thanks in advance.
6. February 2011 - 13:28
#1
Re: specific g_types/maps dependant on amount of players.
i suggest u to read documentation Rotation System
so ur example can be implemented w/ similar block in rotation file.
if (xp_activeClients = 10) { g_gametype : 3 q3dm11 } else { //leaves old gametype defined or in rotation file above or just current active (i guess) q3dm11 }
p.s. mb i lie didnt test it
thanks, I didnt know xp_activeClients, but this is what i was looking for.
"Beauty can cover a multitude of sins. But underneath, we all look exactly the same."
Frank Breitkopf :- no way out