Post: bo2 1.19 dlc map change for gsc script
01-15-2015, 08:36 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I need all the bo2 1.19 dlc maps to I can add it to my menu.
(adsbygoogle = window.adsbygoogle || []).push({});
02-12-2015, 08:28 AM #2
iiiCenTurY
Gym leader
You need this too:
    doMap(mapname)
{
self iPrintln("Map Set: ^1" + mapname + " - ^2Restarting now...");
wait .2;
map(mapname, true);
}


    self add_menu("SubMenu10c", "SubMenu10", "Host");
self add_option("SubMenu10c", "Downhill", ::doMap, "mp_downhill");
self add_option("SubMenu10c", "Mirage", ::doMap, "mp_mirage");
self add_option("SubMenu10c", "Hydro", ::doMap, "mp_hydro");
self add_option("SubMenu10c", "Grind", ::doMap, "mp_skate");
self add_option("SubMenu10c", "Encore", ::doMap, "mp_concert");
self add_option("SubMenu10c", "Magma", ::doMap, "mp_magma");
self add_option("SubMenu10c", "Vertigo", ::doMap, "mp_vertigo");
self add_option("SubMenu10c", "Studio", ::doMap, "mp_studio");
self add_option("SubMenu10c", "Uplink", ::doMap, "mp_uplink");
self add_option("SubMenu10c", "Detour", ::doMap, "mp_detour");
self add_option("SubMenu10c", "Cove", ::doMap, "mp_cove");
self add_option("SubMenu10c", "Rush", ::doMap, "mp_paintball");
self add_option("SubMenu10c", "Dig", ::doMap, "mp_dig");
self add_option("SubMenu10c", "Frost", ::doMap, "mp_frostbite");
self add_option("SubMenu10c", "Pod", ::doMap, "mp_pod");
self add_option("SubMenu10c", "Takeoff", ::doMap, "mp_takeoff");
02-04-2016, 12:05 PM #3
Thanks for that, coding my first BO2 Menu Smile
02-04-2016, 08:31 PM #4
Also i would add closeMenu(); or what ever you function it is to close your menu before you change the map. Sometimes if you don't your menu will be bugged out at the start of the new map.

For example:

changemap( name )
{
closeMenu(); //Stops the menu from bugging out..
wait 0.50;
map( name, true );
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo