Quote:
Originally Posted by Shattered Heart Lynx
Hello addons_zz
Great job on everything you have done so far.
|
You are welcome.
Quote:
Originally Posted by Shattered Heart Lynx
Do you mind expanding Sven Co-op support?
You can use is_running("svencoop") to add some extra checks and to manipulate some specific cvars.
Examples:
PHP Code:
set_pcvar_string( g_cvar_amx_nextmap, nextMap ); if(is_running("svencoop")) { set_cvar_string( "mp_nextmap_cycle", nextMap ); }
This controls the Next Map: [map name] text which appears in the scoreboard, which is tied to the mp_nextmap_cycle cvar. I know there are more references to amx_nextmap in your code but it was just an example.
Also:
PHP Code:
#include <hamsandwich>
[plugin_init()]
PHP Code:
if(is_running("svencoop")) { RegisterHam(Ham_Use, "game_end", "voteNextmap"); }
PHP Code:
voteNextmap() { [call the vote next map method, to immediately change] }
This allows the players to choose the nextmap everytime they complete the current one. I tested with server_cmd("gal_startvote") and it works (executing the command because it's a different .amxx plugin), and it would be better if you call the function directly.
Thanks in advance.
|
I am working on this, as I improve some plugin maintainability. Moreover, there is something more needed from a mapchooser for Sven Coop?
I saw this other plugin '
NextMap with Sven Co-op Fix'. You think, is there something not covered here yet or with the next update you suggested, everything is well covered?
__________________