Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- maplist = {}
- maplist["ttt_67thway_v4"] = "105195237"
- maplist["ttt_bb_teenroom_b2"] = "141103402"
- maplist["ttt_dolls"] = "195227686"
- maplist["ttt_lttp_kakariko_a4"] = "118937144"
- maplist["ttt_minecraft_b5"] = "159321088"
- maplist["ttt_rooftops_a2_f1"] = "163335613"
- maplist["ttt_waterworld"] = "157420728"
- maplist["ttt_space_station"] = "163344355"
- maplist["ttt_mc_skyislands"] = "106498411"
- maplist["ttt_canyon_a3"] = "195603874"
- maplist["ttt_alt_borders_b13"] = "195601747"
- maplist["ttt_district_a5"] = "186843370"
- maplist["ttt_island_2013"] = "183797802"
- maplist["ttt_jungala"] = "189584612"
- maplist["ttt_escape_the_island_b7"] = "183683521"
- maplist["ttt_shattered_island"] = "194401914"
- maplist["ttt_moondeagle_3rd_nd"] = "145772871"
- maplist["ttt_bank_b3"] = "186008966"
- maplist["ttt_plaza_b7"] = "137891506"
- maplist["ttt_summermansion_b3"] = "124960079"
- maplist["ttt_whitehouse_b2"] = "163347610"
- maplist["ttt_stargate"] = "177663377"
- maplist["ttt_lordcharles_mansion_v5"] = "142394593"
- maplist["ttt_mw2_terminal"] = "176887855"
- maplist["ttt_clue"] = "192491456"
- maplist["ttt_scarisland_b1"] = "185635263"
- maplist["ttt_minecraftcity_v4"] = "186842624"
- maplist["ttt_infini_b5"] = "198450869"
- maplist["ttt_airbus_b3"] = "199933864"
- maplist["ttt_hairyhouse"] = "196720505"
- maplist["ttt_skyscraper"] = "183688633"
- maplist["ttt_hendrix"] = "183684863"
- maplist["ttt_office_complex"] = "213669027"
- maplist["ttt_trappycottage_b2"] = "214511049"
- maplist["ttt_mainstreet_v1"] = "216033779"
- maplist["ttt_datmap"] = "222957320"
- maplist["ttt_clocktown_v1"] = "220740097"
- maplist["ttt_comancher"] = "109144069"
- maplist["ttt_lost_temple"] = "106527577"
- maplist["zuhhh"] = "222346103"
- maplist["de_saturday_night"] = "221276549"
- maplist["ttt_spaceship"] = "299025388"
- maplist["ttt_lunar_base"] = "131606096"
- maplist["ttt_nightshift"] = "354424320"
- maplist["ttt_lego"] = "295897079"
- maplist["ttt_rooftops_lost"] = "288523538"
- maplist["xmas_nipperhouse"] = "163350462"
- maplist["ttt_mc_mineshaft"] = "260153473"
- maplist["ttt_67thway_v7"] = "140410125"
- maplist["ttt_forest_final"] = "147635981"
- maplist["ttt_mc_jondome"] = "322655757"
- maplist["ttt_cruise"] = "186012196"
- maplist["ttt_terraria"] = "337311940"
- maplist["ttt_mc_tiptsky_b5"] = "270494654"
- --add more maps here
- local map = game.GetMap() -- Get's the current map name
- local workshopid = maplist[map]
- -- Finds the workshop ID for the current map name from the table above
- if( workshopid != nil )then
- --If the map is in the table above, add it through workshop
- print( "[WORKSHOP] Setting up maps. " ..map.. " workshop ID: " ..workshopid )
- resource.AddWorkshop( workshopid )
- else
- --If not, ) then hope the server has FastDL or the client has the map
- print( "[WORKSHOP] Not available for current map. Using FastDL instead hopefully..." )
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement