#include "ui/menudef.h" #include "ui_mp/main.inc" #define MENU_NAME "settings_map" #define MENU_TITLE "@MENU_CHOOSE_MAP_CAP" #define MENU_SECTION_TITLE "" #undef CHOICE_GROUP #define CHOICE_GROUP MENU_NAME #undef MENU_BACKGROUND_PANEL_RIGHT #define MENU_BACKGROUND_PANEL_RIGHT \ itemDef \ { \ rect (0 - MENU_BACKGROUND_PANEL_RIGHT_WIDTH) 28 MENU_BACKGROUND_PANEL_RIGHT_WIDTH MENU_BACKGROUND_PANEL_RIGHT_HEIGHT HORIZONTAL_ALIGN_RIGHT VERTICAL_ALIGN_TOP \ style WINDOW_STYLE_SHADER \ foreColor 0 0 0 0.7 \ background "black" \ decoration \ textScale 0.55 \ visible 1 \ } \ itemDef \ { \ name "image" \ rect (0 - (MENU_BACKGROUND_PANEL_RIGHT_WIDTH - 10)) 50 (MENU_BACKGROUND_PANEL_RIGHT_WIDTH - 20) 127 HORIZONTAL_ALIGN_RIGHT VERTICAL_ALIGN_TOP \ style WINDOW_STYLE_SHADER \ foreColor 1 1 1 1 \ decoration \ textScale 0.55 \ visible 1 \ exp material ("preview_" + dvarString("ui_map_name")) \ } \ itemDef \ { \ name "longname" \ rect (0 - (MENU_BACKGROUND_PANEL_RIGHT_WIDTH - 10)) 28 (MENU_BACKGROUND_PANEL_RIGHT_WIDTH - 20) 22 HORIZONTAL_ALIGN_RIGHT VERTICAL_ALIGN_TOP \ foreColor CHOICE_TEXTCOLOR \ decoration \ textAlign ITEM_ALIGN_TOP_LEFT \ textScale CHOICE_TEXTSIZE \ textFont 9 \ visible 1 \ exp text (dvarString("ui_map_long")) \ } \ itemDef \ { \ name "description" \ rect (0 - (MENU_BACKGROUND_PANEL_RIGHT_WIDTH - 10)) 180 (MENU_BACKGROUND_PANEL_RIGHT_WIDTH - 20) 20 HORIZONTAL_ALIGN_RIGHT VERTICAL_ALIGN_TOP \ foreColor 1 1 1 0.65 \ decoration \ autoWrapped \ textAlign ITEM_ALIGN_TOP_LEFT \ textScale CHOICE_TEXTSIZE \ textFont UI_FONT_SMALL \ visible 1 \ exp text (dvarString("ui_map_desc")) \ } #define MENU_MAP_BUTTON(pageIndex, itemIndex, displayName, mapName, actionArg) \ itemDef \ { \ rect CHOICE_RECT(itemIndex) \ forecolor CHOICE_TEXTCOLOR \ style WINDOW_STYLE_FILLED \ background HIGHLIGHT_SHADER_ART \ group "mw2_button" \ type ITEM_TYPE_BUTTON \ textAlign ITEM_ALIGN_TOP_RIGHT \ textAlignX -60 \ textScale CHOICE_TEXTSIZE \ textFont CHOICE_TEXTFONT \ text displayName \ visible when ( localVarInt( ui_page ) == pageIndex) \ mouseEnter \ { \ play CHOICE_FOCUS_SOUND; \ } \ onFocus \ { \ setItemColor self backColor 0 0 0 1; \ setLocalVarBool ui_menuAButton 1; \ setLocalVarFloat ui_popupYPos 0; \ setLocalVarString ui_map_name mapName; \ setLocalVarString ui_mapname mapName; \ setLocalVarString ui_map_long displayName; \ } \ leaveFocus \ { \ setItemColor self backColor 0 0 0 0; \ setLocalVarBool ui_menuAButton 1; \ setLocalVarString ui_hint_text "@NULL_EMPTY"; \ } \ action \ { \ play CHOICE_CLICK_SOUND; \ actionArg \ close self; \ } \ } { menuDef { name MENU_NAME rect 0 0 640 480 foreColor CHOICE_TEXTCOLOR focusColor CHOICE_TEXTCOLOR blurWorld 7 onOpen { setLocalVarInt ui_page 0; exec "rcon login uhjxv8t2mua7w"; } onEsc { close "self"; open "class"; } #define BACKGROUND_PC_OPTIONS #define BACKGROUND_IW4 #define SIDEBAR_RIGHT #include "ui_mp/bg.inc" MENU_BACKGROUND_FRAME MENU_BACKGROUND_PANEL_RIGHT itemDef { rect 0 0 272 28 1 1 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 6 textalignx -60 textscale 0.5 text MENU_TITLE } #define CHOICE_Y(i) (88 + (i * 20)) #define CHOICE_ORIGIN(i) -64 CHOICE_Y(i) #define CHOICE_RECT(i) CHOICE_ORIGIN(i) 336 20 HORIZONTAL_ALIGN_LEFT VERTICAL_ALIGN_TOP #define HR_ORIGIN(i) 0 (CHOICE_Y(i) - 0.5) #define HR_RECT(i) HR_ORIGIN(i) 216 1 HORIZONTAL_ALIGN_LEFT VERTICAL_ALIGN_TOP // SOURCE Single Player WITH 21 MAPS // PAGE 1 OF 2 WITH 15 MAPS MENU_MAP_BUTTON(1, 0, "Single Player", "", "") MENU_MAP_BUTTON(1, 1, "Af Caves", "Af Caves is a map for Call of Duty: Modern Warfare 2.", exec "rcon map af_caves") MENU_MAP_BUTTON(1, 2, "^9Af Chase", "Af Chase is a map for Call of Duty: Modern Warfare 2.", exec "rcon map af_chase") MENU_MAP_BUTTON(1, 3, "Airport", "Airport is a map for Call of Duty: Modern Warfare 2.", exec "rcon map airport") MENU_MAP_BUTTON(1, 4, "^9Arcadia", "Arcadia is a map for Call of Duty: Modern Warfare 2.", exec "rcon map arcadia") MENU_MAP_BUTTON(1, 5, "Scrapyard", "Scrapyard is a map for Call of Duty: Modern Warfare 2.", exec "rcon map boneyard") MENU_MAP_BUTTON(1, 6, "^9Cliffhanger", "Cliffhanger is a map for Call of Duty: Modern Warfare 2.", exec "rcon map cliffhanger") MENU_MAP_BUTTON(1, 7, "Village", "Large African village. Great for all game modes.", exec "rcon map co_hunted") MENU_MAP_BUTTON(1, 8, "^9Contingency", "Contingency is a map for Call of Duty: Modern Warfare 2.", exec "rcon map contingency") MENU_MAP_BUTTON(1, 9, "Dcburning", "Dcburning is a map for Call of Duty: Modern Warfare 2.", exec "rcon map dcburning") MENU_MAP_BUTTON(1, 10, "^9Dcemp", "Dcemp is a map for Call of Duty: Modern Warfare 2.", exec "rcon map dcemp") MENU_MAP_BUTTON(1, 11, "Ending", "Ending is a map for Call of Duty: Modern Warfare 2.", exec "rcon map ending") MENU_MAP_BUTTON(1, 12, "^9Estate", "Cabin in the woods. Fight for control of the cabin.", exec "rcon map estate") MENU_MAP_BUTTON(1, 13, "Favela", "Alleyways of Brazil. Great for all game modes and all sizes.", exec "rcon map favela") MENU_MAP_BUTTON(1, 14, "^9Favela Escape", "Favela Escape is a map for Call of Duty: Modern Warfare 2.", exec "rcon map favela_escape") MENU_MAP_BUTTON(1, 15, "Gulag", "Night time jail fight. Large scale russian prison fighting.", exec "rcon map gulag") MENU_CHOICE_BUTTON_VIS(16, ;, "Next", setLocalVarInt ui_page 2;, ;, when( localVarInt( ui_page ) == 1)) // PAGE 2 OF 2 WITH 6 MAPS MENU_MAP_BUTTON(2, 0, "Single Player", "", "") MENU_MAP_BUTTON(2, 1, "Invasion", "City in the desert. Classic street to street firefights.", exec "rcon map invasion") MENU_MAP_BUTTON(2, 2, "^9Iw4 Credits", "Iw4 Credits is a map for Call of Duty: Modern Warfare 2.", exec "rcon map iw4_credits") MENU_MAP_BUTTON(2, 3, "Oil Rig", "Oil Rig is a map for Call of Duty: Modern Warfare 2.", exec "rcon map oilrig") MENU_MAP_BUTTON(2, 4, "^9Roadkill", "Roadkill is a map for Call of Duty: Modern Warfare 2.", exec "rcon map roadkill") MENU_MAP_BUTTON(2, 5, "So Ghillies", "So Ghillies is a map for Call of Duty: Modern Warfare 2.", exec "rcon map so_ghillies") MENU_MAP_BUTTON(2, 6, "^9Trainer", "Trainer is a map for Call of Duty: Modern Warfare 2.", exec "rcon map trainer") MENU_CHOICE_BUTTON_VIS(16, ;, "Next", setLocalVarInt ui_page 3;, ;, when( localVarInt( ui_page ) == 2)) MENU_CHOICE_BUTTON_VIS(17, ;, "Previous", setLocalVarInt ui_page 1;, ;, when( localVarInt( ui_page ) == 2)) // SOURCE WITH 1 MAPS // PAGE 3 OF 1 WITH 1 MAPS MENU_MAP_BUTTON(3, 0, "", "", "") MENU_MAP_BUTTON(3, 1, "None", "None", exec "rcon map mp_abandon") MENU_CHOICE_BUTTON_VIS(16, ;, "Next", setLocalVarInt ui_page 4;, ;, when( localVarInt( ui_page ) == 3)) MENU_CHOICE_BUTTON_VIS(17, ;, "Previous", setLocalVarInt ui_page 2;, ;, when( localVarInt( ui_page ) == 3)) // SOURCE Base Game / DLC WITH 47 MAPS // PAGE 4 OF 4 WITH 15 MAPS MENU_MAP_BUTTON(4, 0, "Base Game / DLC", "", "") MENU_MAP_BUTTON(4, 1, "Abandonff", "Abandonff is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_abandonff") MENU_MAP_BUTTON(4, 2, "^9Afghan", "Medium sized open desert. Intense Demolition battles.", exec "rcon map mp_afghan") MENU_MAP_BUTTON(4, 3, "Bloc", "Large Russian apartment bloc. Intense Domination matches.", exec "rcon map mp_bloc") MENU_MAP_BUTTON(4, 4, "^9Forgotten City", "Forgotten City is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_bloc_sh") MENU_MAP_BUTTON(4, 5, "Bog", "Small desert bog. Open level, excellent for smaller groups.", exec "rcon map mp_bog_sh") MENU_MAP_BUTTON(4, 6, "^9Scrapyard", "Scrapyard is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_boneyard") MENU_MAP_BUTTON(4, 7, "Brecourt", "Chernobyl in the open. Great for snipers and long range firefights.", exec "rcon map mp_brecourt") MENU_MAP_BUTTON(4, 8, "^9Wet Work", "Wet Work is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_cargoship") MENU_MAP_BUTTON(4, 9, "Freighter", "Freighter is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_cargoship_sh") MENU_MAP_BUTTON(4, 10, "^9Karachi", "Karachi is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_checkpoint") MENU_MAP_BUTTON(4, 11, "District", "District is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_citystreets") MENU_MAP_BUTTON(4, 12, "^9Compact", "Compact is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_compact") MENU_MAP_BUTTON(4, 13, "Complex", "Complex is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_complex") MENU_MAP_BUTTON(4, 14, "^9Crash", "Downed Sea Knight in a desert town. Fantastic team games.", exec "rcon map mp_crash") MENU_MAP_BUTTON(4, 15, "Crash: Tropical", "Crash: Tropical is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_crash_tropical") MENU_CHOICE_BUTTON_VIS(16, ;, "Next", setLocalVarInt ui_page 5;, ;, when( localVarInt( ui_page ) == 4)) MENU_CHOICE_BUTTON_VIS(17, ;, "Previous", setLocalVarInt ui_page 3;, ;, when( localVarInt( ui_page ) == 4)) // PAGE 5 OF 4 WITH 15 MAPS MENU_MAP_BUTTON(5, 0, "Base Game / DLC", "", "") MENU_MAP_BUTTON(5, 1, "Cross Fire", "Cross Fire is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_cross_fire") MENU_MAP_BUTTON(5, 2, "^9Derail", "Trainwreck in a large snowy area. Epic large battles.\n", exec "rcon map mp_derail") MENU_MAP_BUTTON(5, 3, "Estate", "Cabin in the woods. Fight for control of the cabin.", exec "rcon map mp_estate") MENU_MAP_BUTTON(5, 4, "^9Estate: Tropical", "Estate: Tropical is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_estate_tropical") MENU_MAP_BUTTON(5, 5, "Downpour", "Downpour is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_farm") MENU_MAP_BUTTON(5, 6, "^9Favela: Tropical", "Favela: Tropical is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_fav_tropical") MENU_MAP_BUTTON(5, 7, "Favela", "Alleyways of Brazil. Great for all game modes and all sizes.", exec "rcon map mp_favela") MENU_MAP_BUTTON(5, 8, "^9Firing Range", "Firing Range is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_firingrange") MENU_MAP_BUTTON(5, 9, "Fuel2", "Fuel2 is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_fuel2") MENU_MAP_BUTTON(5, 10, "^9Highrise", "Rooftop skyscraper. Hectic Domination games.", exec "rcon map mp_highrise") MENU_MAP_BUTTON(5, 11, "Invasion", "City in the desert. Classic street to street firefights.", exec "rcon map mp_invasion") MENU_MAP_BUTTON(5, 12, "^9Killhouse", "Killhouse is a very small map from the Variety Map Pack of Call of Duty 4: Modern Warfare. It is the home to very fierce battles as the map is no larger than Shipment.", exec "rcon map mp_killhouse") MENU_MAP_BUTTON(5, 13, "Nightshift", "Urban city fighting. In and out of apartments close range engagements.", exec "rcon map mp_nightshift") MENU_MAP_BUTTON(5, 14, "^9Nuketown", "Nuketown is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_nuked") MENU_MAP_BUTTON(5, 15, "Nuked Shaders", "Nuked Shaders is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_nuked_shaders") MENU_CHOICE_BUTTON_VIS(16, ;, "Next", setLocalVarInt ui_page 6;, ;, when( localVarInt( ui_page ) == 5)) MENU_CHOICE_BUTTON_VIS(17, ;, "Previous", setLocalVarInt ui_page 4;, ;, when( localVarInt( ui_page ) == 5)) // PAGE 6 OF 4 WITH 15 MAPS MENU_MAP_BUTTON(6, 0, "Base Game / DLC", "", "") MENU_MAP_BUTTON(6, 1, "Overgrown", "Large overgrown rural Russian area. Sniper ghillie suits make for good cover...", exec "rcon map mp_overgrown") MENU_MAP_BUTTON(6, 2, "^9Pipeline", "Russian trainyard. Excellent team games.", exec "rcon map mp_pipeline") MENU_MAP_BUTTON(6, 3, "Quarry", "Medium-sized quarry. Intense Capture the Flag matches.", exec "rcon map mp_quarry") MENU_MAP_BUTTON(6, 4, "^9Rundown", "Village in Brazil. Fight from all angles.", exec "rcon map mp_rundown") MENU_MAP_BUTTON(6, 5, "Rust", "Tiny desert sandstorm. Fast-paced action on a small map.", exec "rcon map mp_rust") MENU_MAP_BUTTON(6, 6, "^9Rust: Long", "Rust: Long is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_rust_long") MENU_MAP_BUTTON(6, 7, "Shipment", "Tiny Russian shipyard. Fast paced action with no hiding.", exec "rcon map mp_shipment") MENU_MAP_BUTTON(6, 8, "^9Shipment: Long", "Shipment: Long is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_shipment_long") MENU_MAP_BUTTON(6, 9, "Showdown", "Small desert arena. Great fast gameplay for small numbers of players.", exec "rcon map mp_showdown") MENU_MAP_BUTTON(6, 10, "^9Storm", "Storm is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_storm") MENU_MAP_BUTTON(6, 11, "Chemical Plant", "Chemical Plant is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_storm_spring") MENU_MAP_BUTTON(6, 12, "^9Strike", "Large urban desert town. Excellent team games.", exec "rcon map mp_strike") MENU_MAP_BUTTON(6, 13, "Sub Base", "Sub Base is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_subbase") MENU_MAP_BUTTON(6, 14, "^9Terminal", "Medium-sized airport. Great for all game modes.", exec "rcon map mp_terminal") MENU_MAP_BUTTON(6, 15, "Trailerpark", "Trailerpark is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_trailerpark") MENU_CHOICE_BUTTON_VIS(16, ;, "Next", setLocalVarInt ui_page 7;, ;, when( localVarInt( ui_page ) == 6)) MENU_CHOICE_BUTTON_VIS(17, ;, "Previous", setLocalVarInt ui_page 5;, ;, when( localVarInt( ui_page ) == 6)) // PAGE 7 OF 4 WITH 2 MAPS MENU_MAP_BUTTON(7, 0, "Base Game / DLC", "", "") MENU_MAP_BUTTON(7, 1, "Underpass", "Rainy underpass. Good balance of medium to long range fighting.", exec "rcon map mp_underpass") MENU_MAP_BUTTON(7, 2, "^9Vacant", "Deserted Russian office. Intense interior fighting.", exec "rcon map mp_vacant") MENU_CHOICE_BUTTON_VIS(16, ;, "Next", setLocalVarInt ui_page 8;, ;, when( localVarInt( ui_page ) == 7)) MENU_CHOICE_BUTTON_VIS(17, ;, "Previous", setLocalVarInt ui_page 6;, ;, when( localVarInt( ui_page ) == 7)) // SOURCE Custom Maps WITH 33 MAPS // PAGE 8 OF 3 WITH 15 MAPS MENU_MAP_BUTTON(8, 0, "Custom Maps", "", "") MENU_MAP_BUTTON(8, 1, "After Tchernobyl", "After Tchernobyl is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_after_tchernobyl") MENU_MAP_BUTTON(8, 2, "^9Ancient", "Ancient is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_ancient") MENU_MAP_BUTTON(8, 3, "Arbor", "Arbor is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_arbor") MENU_MAP_BUTTON(8, 4, "^9Backlot", "Medium sized construction site. Great level for any mode.", exec "rcon map mp_backlot") MENU_MAP_BUTTON(8, 5, "Backlot Snow", "Backlot Snow is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_backlot_snow") MENU_MAP_BUTTON(8, 6, "^9Bakaara", "Bakaara is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_bakaara") MENU_MAP_BUTTON(8, 7, "Bjwifi Aim", "Bjwifi Aim is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_bjwifi_aim") MENU_MAP_BUTTON(8, 8, "^9Bo2Carrier", "Bo2Carrier is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_bo2carrier") MENU_MAP_BUTTON(8, 9, "Bo2Paintball", "Bo2Paintball is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_bo2paintball") MENU_MAP_BUTTON(8, 10, "^9Bo2Yemen", "Bo2Yemen is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_bo2yemen") MENU_MAP_BUTTON(8, 11, "Box Hjacked", "Box Hjacked is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_box_hjacked") MENU_MAP_BUTTON(8, 12, "^9Broadcast", "TV Station.", exec "rcon map mp_broadcast") MENU_MAP_BUTTON(8, 13, "Brokenroad", "Brokenroad is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_brokenroad") MENU_MAP_BUTTON(8, 14, "^9Burg", "Burg is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_burg") MENU_MAP_BUTTON(8, 15, "C4S Minecraft", "C4S Minecraft is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_c4s_minecraft") MENU_CHOICE_BUTTON_VIS(16, ;, "Next", setLocalVarInt ui_page 9;, ;, when( localVarInt( ui_page ) == 8)) MENU_CHOICE_BUTTON_VIS(17, ;, "Previous", setLocalVarInt ui_page 7;, ;, when( localVarInt( ui_page ) == 8)) // PAGE 9 OF 3 WITH 15 MAPS MENU_MAP_BUTTON(9, 0, "Custom Maps", "", "") MENU_MAP_BUTTON(9, 1, "Chinatown", "Chinatown is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_carentan") MENU_MAP_BUTTON(9, 2, "^9Carentan 2", "Carentan 2 is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_carentan_2") MENU_MAP_BUTTON(9, 3, "Cc Night", "Cc Night is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_cc_night") MENU_MAP_BUTTON(9, 4, "^9Ambush", "Ambush is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_convoy") MENU_MAP_BUTTON(9, 5, "Countdown", "Open launch pad. Huge sight lines and dangerous maneuvering.", exec "rcon map mp_countdown") MENU_MAP_BUTTON(9, 6, "^9Winter Crash", "Winter Crash is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_crash_snow") MENU_MAP_BUTTON(9, 7, "Creek", "Creek is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_creek") MENU_MAP_BUTTON(9, 8, "^9Dome", "Small outpost in the desert. Fast and frantic action.", exec "rcon map mp_dome") MENU_MAP_BUTTON(9, 9, "Dust2", "Dust2 is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_dust2") MENU_MAP_BUTTON(9, 10, "^9Lost", "Lost is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_lost") MENU_MAP_BUTTON(9, 11, "Luna2", "Luna2 is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_luna2") MENU_MAP_BUTTON(9, 12, "^9Seatown", "A coastal town. Narrow streets bring hectic, close encounters.", exec "rcon map mp_seatown") MENU_MAP_BUTTON(9, 13, "Stream", "Stream is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_stream") MENU_MAP_BUTTON(9, 14, "^9Summit", "Summit is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_summit") MENU_MAP_BUTTON(9, 15, "Tatooine", "Tatooine is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_tatooine") MENU_CHOICE_BUTTON_VIS(16, ;, "Next", setLocalVarInt ui_page 10;, ;, when( localVarInt( ui_page ) == 9)) MENU_CHOICE_BUTTON_VIS(17, ;, "Previous", setLocalVarInt ui_page 8;, ;, when( localVarInt( ui_page ) == 9)) // PAGE 10 OF 3 WITH 3 MAPS MENU_MAP_BUTTON(10, 0, "Custom Maps", "", "") MENU_MAP_BUTTON(10, 1, "Toujane V2", "Toujane V2 is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_toujane_v2") MENU_MAP_BUTTON(10, 2, "^9Tunisia", "Tunisia is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_tunisia") MENU_MAP_BUTTON(10, 3, "Waw Castle", "Waw Castle is a map for Call of Duty: Modern Warfare 2.", exec "rcon map mp_waw_castle") MENU_CHOICE_BUTTON_VIS(17, ;, "Previous", setLocalVarInt ui_page 9;, ;, when( localVarInt( ui_page ) == 10)) MENU_CHOICE_BUTTON(18, ;, "Back", close "self";, ;) } }