hi there, yea you type !mapvote in chat, it brings up wat maps you have put in the following part of the source script....
ive found this only works for admins so ive took off the plugin advertiser completely.......
remember though if you press the wrong button, server will crash......
if u open up to sp file in notepad......scroll down to this part:
if(game_l4d2)
{
if(strcmp(g_gameMode, "coop", false) == 0)
{
AddMenuItem(mapMenu, "c1m1_hotel", "Dead Center");
AddMenuItem(mapMenu, "c2m1_highway", "Dark Carnival");
AddMenuItem(mapMenu, "c3m1_plankcountry", "Swamp Fever");
AddMenuItem(mapMenu, "c4m1_milltown_a", "Hard Rain");
AddMenuItem(mapMenu, "c5m1_waterfront", "The Parish");
then u need to add your custom map info under the last one the parish......
so i used the programme which the op gave me the link for gcf scape to open up the vpk to get the missions file for each custom map.....(if u already know the map names for the custom maps then u dont need to do this.
so if you have say city 17 custom map.....find out what the first map of the campaign is.....in this case its : l4d2_city17_01
so we write a line underneath the last 1 (look out as its case sensitive...needs to exact or will not recompile)
so we now have:
AddMenuItem(mapMenu, "l4d2_city17_01", "City 17");
put this here:
if(game_l4d2)
{
if(strcmp(g_gameMode, "coop", false) == 0)
{
AddMenuItem(mapMenu, "c1m1_hotel", "Dead Center");
AddMenuItem(mapMenu, "c2m1_highway", "Dark Carnival");
AddMenuItem(mapMenu, "c3m1_plankcountry", "Swamp Fever");
AddMenuItem(mapMenu, "c4m1_milltown_a", "Hard Rain");
AddMenuItem(mapMenu, "c5m1_waterfront", "The Parish");
AddMenuItem(mapMenu, "l4d2_city17_01", "City 17");
do this for every custom map then file and save the sp file......
then we goto the source compiler which is found here:
http://www.sourcemod.net/compiler.php
upload your sp.....click compile then download your modified .smx plugin
put it in your plugins folder and try.......