Quote:
Originally Posted by fysiks
Optimization: Use pcvars.
|
I am using pcvars almost everwhere. Can I normaly use pcvar with mp_timelimit? and mp_roundtime?
Quote:
Originally Posted by fysiks
You have it coded to vote twice under certain conditions.
|
Yes. If in first vote no map got more than 60% votes (cvar specified) There will be second vote with 2 most popular maps. In second vote wins map with more voices or first map if they have the same number of voices. Unfortunetly second vote sometimes is displayed twice.
Quote:
Originally Posted by fysiks
What do you mean votes aren't counted correctly?
|
It is set that map wins in first vote if it gets 60% voices.
If there was 4 players and 3 voted fore aim_map it should win, but there was a second vote.
Quote:
Originally Posted by fysiks
I can't find where you do anything about changing the map when there are zero players.
|
If there is no players then first map from random maps should win thw vote.
Map is changed after round start. If the map is fy, aim or awp round doesn't end unles both teams have players. That is why I use this:
set_task(get_timeleft() + 5.0, "changeMap", TASK_CHANGE_MAP);
I do not hava any other plugins connected with maps (galileo, nextmap, votemap)