-----------------------------------------------------------------------------------------------------------------------------------------
-- THREADIPLLOADER
-----------------------------------------------------------------------------------------------------------------------------------------
CreateThread(function()
	OnEnterMp()
	SetInstancePriorityMode(true)

	RequestIpl("coronertrash")
	RequestIpl("Coroner_Int_On")
	RequestIpl("chop_props")
	RemoveIpl("hei_bi_hw1_13_door")
	RequestIpl("v_rockclub")
	RemoveIpl("rc12b_fixed")
	RemoveIpl("rc12b_destroyed")
	RemoveIpl("rc12b_default")
	RemoveIpl("rc12b_hospitalinterior_lod")
	RemoveIpl("rc12b_hospitalinterior")
	RemoveIpl("v_carshowroom")
	RemoveIpl("shutter_open")
	RemoveIpl("shutter_closed")
	RemoveIpl("DES_StiltHouse_imapend")
	RequestIpl("DES_stilthouse_rebuild")
	RemoveIpl("csr_inMission")
	RequestIpl("v_carshowroom")
	RequestIpl("shr_int")
	RequestIpl("shr_int_lod")
	RequestIpl("shutter_closed")
	RequestIpl("FINBANK")
	RemoveIpl("facelobbyfake")
	RequestIpl("facelobby")
	RemoveIpl("CS1_02_cf_offmission")
	RequestIpl("CS1_02_cf_onmission1")
	RequestIpl("CS1_02_cf_onmission2")
	RequestIpl("CS1_02_cf_onmission3")
	RequestIpl("CS1_02_cf_onmission4")
	RequestIpl("des_farmhouse")
	RequestIpl("des_farmhs_endimap")
	RequestIpl("des_farmhs_end_occl")
	RequestIpl("des_farmhs_startimap")
	RequestIpl("des_farmhs_start_occl")
	RequestIpl("farm")
	RequestIpl("farm_props")
	RequestIpl("farm_int")
	RequestIpl("farmint")
	RemoveIpl("farm_burnt")
	RemoveIpl("farm_burnt_props")
	RemoveIpl("des_farmhs_endimap")
	RemoveIpl("des_farmhs_end_occl")
	RequestIpl("FIBlobby")
	RemoveIpl("FIBlobbyfake")
	RequestIpl("FBI_colPLUG")
	RequestIpl("FBI_repair")
	RemoveIpl("id2_14_during_door")
	RemoveIpl("id2_14_during2")
	RemoveIpl("id2_14_on_fire")
	RemoveIpl("id2_14_post_no_int")
	RemoveIpl("id2_14_pre_no_int")
	RequestIpl("id2_14_during1")
	RemoveIpl("TrevorsMP")
	RemoveIpl("TrevorsTrailer")
	RequestIpl("TrevorsTrailerTidy")
	RemoveIpl("TrevorsTrailerTrash")
	RequestIpl("dt1_03_gr_closed")
	RequestIpl("dt1_21_prop_lift")
	RequestIpl("dt1_21_prop_lift_on")
	RemoveIpl("DT1_03_Shutter")
	RequestIpl("yogagame")
	RequestIpl("v_tunnel_hole")
	RequestIpl("V_Michael")
	RequestIpl("V_Michael_Garage")
	RequestIpl("V_Michael_FameShame")
	RequestIpl("V_Michael_JewelHeist")
	RequestIpl("V_Michael_plane_ticket")
	RequestIpl("V_Michael_Scuba")
	RemoveIpl("smboat")
	RequestIpl("hei_yacht_heist")
	RequestIpl("hei_yacht_heist_Bar")
	RequestIpl("hei_yacht_heist_Bedrm")
	RequestIpl("hei_yacht_heist_Bridge")
	RequestIpl("hei_yacht_heist_DistantLights")
	RequestIpl("hei_yacht_heist_enginrm")
	RequestIpl("hei_yacht_heist_LODLights")
	RequestIpl("hei_yacht_heist_Lounge")
	RequestIpl("cargoship")
	RemoveIpl("sp1_10_fake_interior")
	RemoveIpl("sp1_10_fake_interior_lod")
	RequestIpl("sc1_01_newbill")
	RequestIpl("hw1_02_newbill")
	RequestIpl("hw1_emissive_newbill")
	RequestIpl("sc1_14_newbill")
	RequestIpl("dt1_17_newbill")
	RequestIpl("SC1_01_OldBill")
	RequestIpl("SC1_30_Keep_Closed")
	RequestIpl("refit_unload")
	RequestIpl("post_hiest_unload")
	RequestIpl("occl_meth_grp1")
	RequestIpl("Michael_premier")
	RemoveIpl("DT1_05_HC_REMOVE")
	RequestIpl("DT1_05_HC_REQ")
	RequestIpl("DT1_05_REQUEST")
	RemoveIpl("jewel2fake")
	RemoveIpl("bh1_16_refurb")
	RemoveIpl("ch1_02_closed")
	RemoveIpl("scafstartimap")
	RequestIpl("scafendimap")
	RemoveIpl("bh1_16_doors_shut")
	RequestIpl("ferris_finale_anim")
	RequestIpl("ferris_finale_anim_lod")
	RequestIpl("CS2_06_TriAf02")
	RemoveIpl("CS3_07_MPGates")
	RequestIpl("CS4_08_TriAf02")
	RequestIpl("CS4_04_TriAf03")
	RequestIpl("AP1_04_TriAf01")
	RequestIpl("gr_case0_bunkerclosed")
	RequestIpl("gr_case1_bunkerclosed")
	RequestIpl("gr_case2_bunkerclosed")
	RequestIpl("gr_case3_bunkerclosed")
	RequestIpl("gr_case4_bunkerclosed")
	RequestIpl("gr_case5_bunkerclosed")
	RequestIpl("gr_case6_bunkerclosed")
	RequestIpl("gr_case7_bunkerclosed")
	RequestIpl("gr_case9_bunkerclosed")
	RequestIpl("gr_case10_bunkerclosed")
	RequestIpl("gr_case11_bunkerclosed")
	RequestIpl("cs5_4_trains")
	RequestIpl("chophillskennel")
	RequestIpl("bnkheist_apt_dest")
	RequestIpl("bnkheist_apt_norm")
	RequestIpl("redcarpet")
	RemoveIpl("hei_sm_16_interior_v_bahama_milo_")
	RequestIpl("cs3_05_water_grp1")
	RequestIpl("cs3_05_water_grp1_lod")
	RequestIpl("cs3_05_water_grp2")
	RequestIpl("cs3_05_water_grp2_lod")
	RequestIpl("canyonriver01")
	RequestIpl("canyonriver01_lod")
	RequestIpl("railing_start")
	RemoveIpl("canyonriver01_traincrash")
	RemoveIpl("railing_end")
	RequestIpl("bh1_47_joshhse_unburnt")
	RequestIpl("bh1_47_joshhse_unburnt_lod")
	RequestIpl("bkr_bi_hw1_13_int")
	RequestIpl("CanyonRvrShallow")
	RequestIpl("methtrailer_grp1")
	RequestIpl("lr_cs6_08_grave_closed")
	RequestIpl("bkr_bi_id1_23_door")
	RequestIpl("ch1_02_open")
	RequestIpl("sp1_10_real_interior")
	RequestIpl("sp1_10_real_interior_lod")
	RequestIpl("Carwash_with_spinners")
	RemoveIpl("apa_v_mp_h_01_a")
	RemoveIpl("apa_v_mp_h_06_b")
	RemoveIpl("apa_v_mp_h_08_c")
	RemoveIpl("ex_dt1_02_office_01c")
	RemoveIpl("ex_dt1_11_office_01b")
	RemoveIpl("ex_sm_13_office_01a")
	RemoveIpl("ex_sm_15_office_02b")
	RequestIpl("ex_sm_13_office_02a")
	RequestIpl("bkr_biker_interior_placement_interior_0_biker_dlc_int_01_milo")
	RequestIpl("bkr_biker_interior_placement_interior_1_biker_dlc_int_02_milo")
	RemoveIpl("bkr_biker_interior_placement_interior_2_biker_dlc_int_ware01_milo")
	RemoveIpl("bkr_biker_interior_placement_interior_2_biker_dlc_int_ware02_milo")
	RemoveIpl("bkr_biker_interior_placement_interior_2_biker_dlc_int_ware03_milo")
	RemoveIpl("bkr_biker_interior_placement_interior_2_biker_dlc_int_ware04_milo")
	RemoveIpl("bkr_biker_interior_placement_interior_2_biker_dlc_int_ware05_milo")
	RemoveIpl("bkr_biker_interior_placement_interior_3_biker_dlc_int_ware02_milo")
	RemoveIpl("bkr_biker_interior_placement_interior_4_biker_dlc_int_ware03_milo")
	RemoveIpl("bkr_biker_interior_placement_interior_5_biker_dlc_int_ware04_milo")
	RequestIpl("bkr_biker_interior_placement_interior_6_biker_dlc_int_ware05_milo")
	RemoveIpl("ex_exec_warehouse_placement_interior_1_int_warehouse_s_dlc_milo")
	RemoveIpl("ex_exec_warehouse_placement_interior_0_int_warehouse_m_dlc_milo")
	RemoveIpl("ex_exec_warehouse_placement_interior_2_int_warehouse_l_dlc_milo")
	RemoveIpl("imp_impexp_interior_placement_interior_1_impexp")
	RemoveIpl("imp_impexp_interior_placement")
	RemoveIpl("imp_impexp_interior_placement_interior_0_impexp_int_01_milo_")
	RemoveIpl("imp_impexp_interior_placement_interior_1_impexp_intwaremed_milo_")
	RemoveIpl("imp_impexp_interior_placement_interior_2_imptexp_mod_int_01_milo_")
	RemoveIpl("imp_impexp_interior_placement_interior_3_impexp_int_02_milo_")
	RequestIpl("ch3_rd2_bishopschickengraffiti")
	RequestIpl("cs5_04_mazebillboardgraffiti")
	RequestIpl("cs5_roads_ronoilgraffiti")
	RequestIpl("ba_barriers_case0")
	RequestIpl("ba_case0_forsale")
	RequestIpl("ba_case0_dixon")
	RequestIpl("ba_case0_madonna")
	RequestIpl("ba_case0_solomun")
	RequestIpl("ba_case0_taleofus")
	RequestIpl("ba_barriers_case1")
	RequestIpl("ba_case1_forsale")
	RequestIpl("ba_case1_dixon")
	RequestIpl("ba_case1_madonna")
	RequestIpl("ba_case1_solomun")
	RequestIpl("ba_case1_taleofus")
	RequestIpl("ba_barriers_case2")
	RequestIpl("ba_case2_forsale")
	RequestIpl("ba_case2_dixon")
	RequestIpl("ba_case2_madonna")
	RequestIpl("ba_case2_solomun")
	RequestIpl("ba_case2_taleofus")
	RequestIpl("ba_barriers_case3")
	RequestIpl("ba_case3_forsale")
	RequestIpl("ba_case3_dixon")
	RequestIpl("ba_case3_madonna")
	RequestIpl("ba_case3_solomun")
	RequestIpl("ba_case3_taleofus")
	RequestIpl("ba_barriers_case4")
	RequestIpl("ba_case4_forsale")
	RequestIpl("ba_case4_dixon")
	RequestIpl("ba_case4_madonna")
	RequestIpl("ba_case4_solomun")
	RequestIpl("ba_case4_taleofus")
	RequestIpl("ba_barriers_case5")
	RequestIpl("ba_case5_forsale")
	RequestIpl("ba_case5_dixon")
	RequestIpl("ba_case5_madonna")
	RequestIpl("ba_case5_solomun")
	RequestIpl("ba_case5_taleofus")
	RequestIpl("ba_barriers_case6")
	RequestIpl("ba_case6_forsale")
	RequestIpl("ba_case6_dixon")
	RequestIpl("ba_case6_madonna")
	RequestIpl("ba_case6_solomun")
	RequestIpl("ba_case6_taleofus")
	RequestIpl("ba_barriers_case7")
	RequestIpl("ba_case7_forsale")
	RequestIpl("ba_case7_dixon")
	RequestIpl("ba_case7_madonna")
	RequestIpl("ba_case7_solomun")
	RequestIpl("ba_case7_taleofus")
	RequestIpl("ba_barriers_case8")
	RequestIpl("ba_case8_forsale")
	RequestIpl("ba_case8_dixon")
	RequestIpl("ba_case8_madonna")
	RequestIpl("ba_case8_solomun")
	RequestIpl("ba_case8_taleofus")
	RequestIpl("ba_barriers_case9")
	RequestIpl("ba_case9_forsale")
	RequestIpl("ba_case9_dixon")
	RequestIpl("ba_case9_madonna")
	RequestIpl("ba_case9_solomun")
	RequestIpl("ba_case9_taleofus")
	RequestIpl("gr_grdlc_yacht_lod")
	RequestIpl("gr_grdlc_yacht_placement")
	RequestIpl("gr_heist_yacht2")
	RequestIpl("gr_heist_yacht2_bar")
	RequestIpl("gr_heist_yacht2_bar_lod")
	RequestIpl("gr_heist_yacht2_bedrm")
	RequestIpl("gr_heist_yacht2_bedrm_lod")
	RequestIpl("gr_heist_yacht2_bridge")
	RequestIpl("gr_heist_yacht2_bridge_lod")
	RequestIpl("gr_heist_yacht2_enginrm")
	RequestIpl("gr_heist_yacht2_enginrm_lod")
	RequestIpl("gr_heist_yacht2_lod")
	RequestIpl("gr_heist_yacht2_lounge")
	RequestIpl("gr_heist_yacht2_lounge_lod")
	RequestIpl("gr_heist_yacht2_slod")
	RequestIpl("ex_dt1_02_office_02b")
	RequestIpl("ex_dt1_11_office_02c")
	RequestIpl("ex_sm_15_office_01a")

	-- CAYO PERICO
	RequestIpl("h4_islandairstrip")
	RequestIpl("h4_islandairstrip_props")
	RequestIpl("h4_islandx_mansion")
	RequestIpl("h4_islandx_mansion_props")
	RequestIpl("h4_islandx_props")
	RequestIpl("h4_islandxdock")
	RequestIpl("h4_islandxdock_props")
	RequestIpl("h4_islandxdock_props_2")
	RequestIpl("h4_islandxtower")
	RequestIpl("h4_islandx_maindock")
	RequestIpl("h4_islandx_maindock_props")
	RequestIpl("h4_islandx_maindock_props_2")
	RequestIpl("h4_IslandX_Mansion_Vault")
	RequestIpl("h4_islandairstrip_propsb")
	RequestIpl("h4_beach")
	RequestIpl("h4_beach_props")
	RequestIpl("h4_beach_bar_props")
	RequestIpl("h4_islandx_barrack_props")
	RequestIpl("h4_islandx_checkpoint")
	RequestIpl("h4_islandx_checkpoint_props")
	RequestIpl("h4_islandx_Mansion_Office")
	RequestIpl("h4_islandx_Mansion_LockUp_01")
	RequestIpl("h4_islandx_Mansion_LockUp_02")
	RequestIpl("h4_islandx_Mansion_LockUp_03")
	RequestIpl("h4_islandairstrip_hangar_props")
	RequestIpl("h4_IslandX_Mansion_B")
	RequestIpl("h4_islandairstrip_doorsclosed")
	RequestIpl("h4_Underwater_Gate_Closed")
	RequestIpl("h4_mansion_gate_closed")
	RequestIpl("h4_aa_guns")
	RequestIpl("h4_IslandX_Mansion_GuardFence")
	RequestIpl("h4_IslandX_Mansion_Entrance_Fence")
	RequestIpl("h4_IslandX_Mansion_B_Side_Fence")
	RequestIpl("h4_IslandX_Mansion_Lights")
	RequestIpl("h4_islandxcanal_props")
	RequestIpl("h4_beach_props_party")
	RequestIpl("h4_islandX_Terrain_props_06_a")
	RequestIpl("h4_islandX_Terrain_props_06_b")
	RequestIpl("h4_islandX_Terrain_props_06_c")
	RequestIpl("h4_islandX_Terrain_props_05_a")
	RequestIpl("h4_islandX_Terrain_props_05_b")
	RequestIpl("h4_islandX_Terrain_props_05_c")
	RequestIpl("h4_islandX_Terrain_props_05_d")
	RequestIpl("h4_islandX_Terrain_props_05_e")
	RequestIpl("h4_islandX_Terrain_props_05_f")
	RequestIpl("H4_islandx_terrain_01")
	RequestIpl("H4_islandx_terrain_02")
	RequestIpl("H4_islandx_terrain_03")
	RequestIpl("H4_islandx_terrain_04")
	RequestIpl("H4_islandx_terrain_05")
	RequestIpl("H4_islandx_terrain_06")
	RequestIpl("h4_ne_ipl_00")
	RequestIpl("h4_ne_ipl_01")
	RequestIpl("h4_ne_ipl_02")
	RequestIpl("h4_ne_ipl_03")
	RequestIpl("h4_ne_ipl_04")
	RequestIpl("h4_ne_ipl_05")
	RequestIpl("h4_ne_ipl_06")
	RequestIpl("h4_ne_ipl_07")
	RequestIpl("h4_ne_ipl_08")
	RequestIpl("h4_ne_ipl_09")
	RequestIpl("h4_nw_ipl_00")
	RequestIpl("h4_nw_ipl_01")
	RequestIpl("h4_nw_ipl_02")
	RequestIpl("h4_nw_ipl_03")
	RequestIpl("h4_nw_ipl_04")
	RequestIpl("h4_nw_ipl_05")
	RequestIpl("h4_nw_ipl_06")
	RequestIpl("h4_nw_ipl_07")
	RequestIpl("h4_nw_ipl_08")
	RequestIpl("h4_nw_ipl_09")
	RequestIpl("h4_se_ipl_00")
	RequestIpl("h4_se_ipl_01")
	RequestIpl("h4_se_ipl_02")
	RequestIpl("h4_se_ipl_03")
	RequestIpl("h4_se_ipl_04")
	RequestIpl("h4_se_ipl_05")
	RequestIpl("h4_se_ipl_06")
	RequestIpl("h4_se_ipl_07")
	RequestIpl("h4_se_ipl_08")
	RequestIpl("h4_se_ipl_09")
	RequestIpl("h4_sw_ipl_00")
	RequestIpl("h4_sw_ipl_01")
	RequestIpl("h4_sw_ipl_02")
	RequestIpl("h4_sw_ipl_03")
	RequestIpl("h4_sw_ipl_04")
	RequestIpl("h4_sw_ipl_05")
	RequestIpl("h4_sw_ipl_06")
	RequestIpl("h4_sw_ipl_07")
	RequestIpl("h4_sw_ipl_08")
	RequestIpl("h4_sw_ipl_09")
	RequestIpl("h4_islandx_mansion")
	RequestIpl("h4_islandxtower_veg")
	RequestIpl("h4_islandx_sea_mines")
	RequestIpl("h4_islandx")
	RequestIpl("h4_islandx_barrack_hatch")
	RequestIpl("h4_islandxdock_water_hatch")
	RequestIpl("h4_beach_party")

	-- North Yankton
	RemoveIpl("prologue01")
	RemoveIpl("prologue01c")
	RemoveIpl("prologue01d")
	RemoveIpl("prologue01e")
	RemoveIpl("prologue01f")
	RemoveIpl("prologue01g")
	RemoveIpl("prologue01h")
	RemoveIpl("prologue01i")
	RemoveIpl("prologue01j")
	RemoveIpl("prologue01k")
	RemoveIpl("prologue01z")
	RemoveIpl("prologue02")
	RemoveIpl("prologue03")
	RemoveIpl("prologue03b")
	RemoveIpl("prologue04")
	RemoveIpl("prologue04b")
	RemoveIpl("prologue05")
	RemoveIpl("prologue05b")
	RemoveIpl("prologue06")
	RemoveIpl("prologue06b")
	RemoveIpl("prologue06_int")
	RemoveIpl("prologuerd")
	RemoveIpl("prologuerdb ")
	RemoveIpl("prologue_DistantLights")
	RemoveIpl("prologue_LODLights")
	RemoveIpl("prologue_m2_door")

	-- CASSINO
	RequestIpl("vw_casino_main")
	RequestIpl("vw_casino_garage")
	RequestIpl("vw_casino_carpark")
	RequestIpl("hei_dlc_windows_casino")
	RequestIpl("hei_dlc_casino_aircon")
	RequestIpl("vw_dlc_casino_door")
	RequestIpl("hei_dlc_casino_door")
end)