You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GoRiLliAz: Would it be possible to add:
If the number of players reaches for example a number defined by a cvar it directly changes the map by a map predefined by a cvar also.
Example:
4 players on the server, map by default de_dust2, map in progress de_train 1 player leaves, the server warned that in 10 seconds he will change the map to de_dust2 right away.
I already had this functionality with another plugin that worked well especially at night. To fill a server.
...
306:if (IsDeDust2)
307: {
308:client_print_color(0, print_team_red, "* Il y a moins de ^3%d^1 \ joueurs sur la map^4de_dust2^4, ^3votemap est désactivé^1",
CvarMinPlayers +1);
309:return;
310: }
https://forums.alliedmods.net/showpost.php?p=2529565&postcount=766
https://forums.alliedmods.net/showpost.php?p=2529650&postcount=774
The relevant code would be:
https://gist.github.com/evandrocoan/352a0c50a7c0357c933f0989eb4bce9e#file-mapchooser-sma-L133-L144
https://gist.github.com/evandrocoan/352a0c50a7c0357c933f0989eb4bce9e#file-mapchooser-sma-L306-L310
The text was updated successfully, but these errors were encountered: