Enabling the island on build 2189

AI works fine for me in windows, the only issue is GetVehiclePedIsIn returns 0 everytime on serverside, if someone could also test that on their end to see if that’s an issue with my server that would be great.

ok someone post working files , thanks

Can confirm, also getting zero on my end as well. Though, I think this is related to the latest builds/onesync, based on this post:

Its nice to play on a proper dlc and not some addon forced, no ram issues or crashing, now we just need the ymaps, scenarios, and the props to the server!

I attempted your code but it dont seem to work for me, I travel to the island location but its not loading in. I followed everything as posted at the top, the script loads and nothing happens. I dont know much about running the natives so any extra help will be appreciated.

I wonder how to stream this so we have peds and vehicles? ;d

I’m having a different issue… I’m running Canary, the server version is 3324 and I’m forcing the 2189 build ( it restarts FiveM on a different version if I click on my server) but I’m stuck on the loading screen… Anyone having this issue?

1 Like

2189, not 2184.

Yes I’m sorry, barely slept and got the number wrong lol Despite this, I’m pretty sure I did everything right up until this point

Good to know it’s not just me, thank you for checking it :).
But if it is related to the latest onesync build, how come removing the game build argument fixes it?

Im stuck on loading screen :confused:

Most likely caching everything.

Also @OP will we ever be able to keep LS and change the island’s position?

1 Like

Yes is it possible to leave the base map and add the island without removing LS ?

2 Likes

No, it is possible to enable/disable the island based on the player position, I don’t see any use case where actually having base map enabled and island at the same time is needed/useful. Also, I believe upcoming native functions to load/unload the island won’t do this either, they will just group those invokes into a single function.
Like I said and many did on this thread, load/unload the island based on your position or on what criteria you want to (like surveillance cameras, that would need to load the island without the player being there).

EDIT: Well there is a way, but I don’t consider this a solution myself: use streamable assets. Major downside to this would be players downloading like 1.5gb of assets just to render the island, not to mention the awful performance that would come with it and texture bugs, etc.

You can just load the IPLs and have LS and the Cayo Perico Island loaded at same time.

I’am actually working on a small script to load / unload the island when needed while still being able to see the other one.
It’s working for the new island, but for los santos I’m missing the terrain ipl names :frowning:

2 Likes

For the people that want Los Santos and Cayo Perico island loaded at the same time

Citizen.CreateThread(function()

    RequestIpl("h4_mph4_terrain_occ_09")

    RequestIpl("h4_mph4_terrain_occ_06")

    RequestIpl("h4_mph4_terrain_occ_05")

    RequestIpl("h4_mph4_terrain_occ_01")

    RequestIpl("h4_mph4_terrain_occ_00")

    RequestIpl("h4_mph4_terrain_occ_08")

    RequestIpl("h4_mph4_terrain_occ_04")

    RequestIpl("h4_mph4_terrain_occ_07")

    RequestIpl("h4_mph4_terrain_occ_03")

    RequestIpl("h4_mph4_terrain_occ_02")

    RequestIpl("h4_islandx_terrain_04")

    RequestIpl("h4_islandx_terrain_05_slod")

    RequestIpl("h4_islandx_terrain_props_05_d_slod")

    RequestIpl("h4_islandx_terrain_02")

    RequestIpl("h4_islandx_terrain_props_05_a_lod")

    RequestIpl("h4_islandx_terrain_props_05_c_lod")

    RequestIpl("h4_islandx_terrain_01")

    RequestIpl("h4_mph4_terrain_04")

    RequestIpl("h4_mph4_terrain_06")

    RequestIpl("h4_islandx_terrain_04_lod")

    RequestIpl("h4_islandx_terrain_03_lod")

    RequestIpl("h4_islandx_terrain_props_06_a")

    RequestIpl("h4_islandx_terrain_props_06_a_slod")

    RequestIpl("h4_islandx_terrain_props_05_f_lod")

    RequestIpl("h4_islandx_terrain_props_06_b")

    RequestIpl("h4_islandx_terrain_props_05_b_lod")

    RequestIpl("h4_mph4_terrain_lod")

    RequestIpl("h4_islandx_terrain_props_05_e_lod")

    RequestIpl("h4_islandx_terrain_05_lod")

    RequestIpl("h4_mph4_terrain_02")

    RequestIpl("h4_islandx_terrain_props_05_a")

    RequestIpl("h4_mph4_terrain_01_long_0")

    RequestIpl("h4_islandx_terrain_03")

    RequestIpl("h4_islandx_terrain_props_06_b_slod")

    RequestIpl("h4_islandx_terrain_01_slod")

    RequestIpl("h4_islandx_terrain_04_slod")

    RequestIpl("h4_islandx_terrain_props_05_d_lod")

    RequestIpl("h4_islandx_terrain_props_05_f_slod")

    RequestIpl("h4_islandx_terrain_props_05_c")

    RequestIpl("h4_islandx_terrain_02_lod")

    RequestIpl("h4_islandx_terrain_06_slod")

    RequestIpl("h4_islandx_terrain_props_06_c_slod")

    RequestIpl("h4_islandx_terrain_props_06_c")

    RequestIpl("h4_islandx_terrain_01_lod")

    RequestIpl("h4_mph4_terrain_06_strm_0")

    RequestIpl("h4_islandx_terrain_05")

    RequestIpl("h4_islandx_terrain_props_05_e_slod")

    RequestIpl("h4_islandx_terrain_props_06_c_lod")

    RequestIpl("h4_mph4_terrain_03")

    RequestIpl("h4_islandx_terrain_props_05_f")

    RequestIpl("h4_islandx_terrain_06_lod")

    RequestIpl("h4_mph4_terrain_01")

    RequestIpl("h4_islandx_terrain_06")

    RequestIpl("h4_islandx_terrain_props_06_a_lod")

    RequestIpl("h4_islandx_terrain_props_06_b_lod")

    RequestIpl("h4_islandx_terrain_props_05_b")

    RequestIpl("h4_islandx_terrain_02_slod")

    RequestIpl("h4_islandx_terrain_props_05_e")

    RequestIpl("h4_islandx_terrain_props_05_d")

    RequestIpl("h4_mph4_terrain_05")

    RequestIpl("h4_mph4_terrain_02_grass_2")

    RequestIpl("h4_mph4_terrain_01_grass_1")

    RequestIpl("h4_mph4_terrain_05_grass_0")

    RequestIpl("h4_mph4_terrain_01_grass_0")

    RequestIpl("h4_mph4_terrain_02_grass_1")

    RequestIpl("h4_mph4_terrain_02_grass_0")

    RequestIpl("h4_mph4_terrain_02_grass_3")

    RequestIpl("h4_mph4_terrain_04_grass_0")

    RequestIpl("h4_mph4_terrain_06_grass_0")

    RequestIpl("h4_mph4_terrain_04_grass_1")

    RequestIpl("island_distantlights")

    RequestIpl("island_lodlights")

    RequestIpl("h4_yacht_strm_0")

    RequestIpl("h4_yacht")

    RequestIpl("h4_yacht_long_0")

    RequestIpl("h4_islandx_yacht_01_lod")

    RequestIpl("h4_clubposter_palmstraxx")

    RequestIpl("h4_islandx_yacht_02_int")

    RequestIpl("h4_islandx_yacht_02")

    RequestIpl("h4_clubposter_moodymann")

    RequestIpl("h4_islandx_yacht_01")

    RequestIpl("h4_clubposter_keinemusik")

    RequestIpl("h4_islandx_yacht_03")

    RequestIpl("h4_ch2_mansion_final")

    RequestIpl("h4_islandx_yacht_03_int")

    RequestIpl("h4_yacht_critical_0")

    RequestIpl("h4_islandx_yacht_01_int")

    RequestIpl("h4_mph4_island_placement")

    RequestIpl("h4_islandx_mansion_vault")

    RequestIpl("h4_islandx_checkpoint_props")

    RequestIpl("h4_mph4_airstrip_interior_0_airstrip_hanger")

    RequestIpl("h4_islandairstrip_hangar_props_slod")

    RequestIpl("h4_se_ipl_01_lod")

    RequestIpl("h4_ne_ipl_00_slod")

    RequestIpl("h4_se_ipl_06_slod")

    RequestIpl("h4_ne_ipl_00")

    RequestIpl("h4_se_ipl_02")

    RequestIpl("h4_islandx_barrack_props_lod")

    RequestIpl("h4_se_ipl_09_lod")

    RequestIpl("h4_ne_ipl_05")

    RequestIpl("h4_mph4_island_se_placement")

    RequestIpl("h4_ne_ipl_09")

    RequestIpl("h4_islandx_mansion_props_slod")

    RequestIpl("h4_se_ipl_09")

    RequestIpl("h4_mph4_mansion_b")

    RequestIpl("h4_islandairstrip_hangar_props_lod")

    RequestIpl("h4_islandx_mansion_entrance_fence")

    RequestIpl("h4_nw_ipl_09")

    RequestIpl("h4_nw_ipl_02_lod")

    RequestIpl("h4_ne_ipl_09_slod")

    RequestIpl("h4_sw_ipl_02")

    RequestIpl("h4_islandx_checkpoint")

    RequestIpl("h4_islandxdock_water_hatch")

    RequestIpl("h4_nw_ipl_04_lod")

    RequestIpl("h4_islandx_maindock_props")

    RequestIpl("h4_beach")

    RequestIpl("h4_islandx_mansion_lockup_03_lod")

    RequestIpl("h4_ne_ipl_04_slod")

    RequestIpl("h4_mph4_island_nw_placement")

    RequestIpl("h4_ne_ipl_08_slod")

    RequestIpl("h4_nw_ipl_09_lod")

    RequestIpl("h4_se_ipl_08_lod")

    RequestIpl("h4_islandx_maindock_props_lod")

    RequestIpl("h4_se_ipl_03")

    RequestIpl("h4_sw_ipl_02_slod")

    RequestIpl("h4_nw_ipl_00")

    RequestIpl("h4_islandx_mansion_b_side_fence")

    RequestIpl("h4_ne_ipl_01_lod")

    RequestIpl("h4_se_ipl_06_lod")

    RequestIpl("h4_ne_ipl_03")

    RequestIpl("h4_islandx_maindock")

    RequestIpl("h4_se_ipl_01")

    RequestIpl("h4_sw_ipl_07")

    RequestIpl("h4_islandx_maindock_props_2")

    RequestIpl("h4_islandxtower_veg")

    RequestIpl("h4_mph4_island_sw_placement")

    RequestIpl("h4_se_ipl_01_slod")

    RequestIpl("h4_mph4_wtowers")

    RequestIpl("h4_se_ipl_02_lod")

    RequestIpl("h4_islandx_mansion")

    RequestIpl("h4_nw_ipl_04")

    RequestIpl("h4_islandx_mansion_lockup_01")

    RequestIpl("h4_islandx_barrack_props")

    RequestIpl("h4_nw_ipl_07_lod")

    RequestIpl("h4_nw_ipl_00_slod")

    RequestIpl("h4_sw_ipl_08_lod")

    RequestIpl("h4_islandxdock_props_slod")

    RequestIpl("h4_islandx_mansion_lockup_02")

    RequestIpl("h4_islandx_mansion_slod")

    RequestIpl("h4_sw_ipl_07_lod")

    RequestIpl("h4_islandairstrip_doorsclosed_lod")

    RequestIpl("h4_sw_ipl_02_lod")

    RequestIpl("h4_se_ipl_04_slod")

    RequestIpl("h4_islandx_checkpoint_props_lod")

    RequestIpl("h4_se_ipl_04")

    RequestIpl("h4_se_ipl_07")

    RequestIpl("h4_mph4_mansion_b_strm_0")

    RequestIpl("h4_nw_ipl_09_slod")

    RequestIpl("h4_se_ipl_07_lod")

    RequestIpl("h4_islandx_maindock_slod")

    RequestIpl("h4_islandx_mansion_lod")

    RequestIpl("h4_sw_ipl_05_lod")

    RequestIpl("h4_nw_ipl_08")

    RequestIpl("h4_islandairstrip_slod")

    RequestIpl("h4_nw_ipl_07")

    RequestIpl("h4_islandairstrip_propsb_lod")

    RequestIpl("h4_islandx_checkpoint_props_slod")

    RequestIpl("h4_aa_guns_lod")

    RequestIpl("h4_sw_ipl_06")

    RequestIpl("h4_islandx_maindock_props_2_slod")

    RequestIpl("h4_islandx_mansion_office")

    RequestIpl("h4_islandx_maindock_lod")

    RequestIpl("h4_mph4_dock")

    RequestIpl("h4_islandairstrip_propsb")

    RequestIpl("h4_islandx_mansion_lockup_03")

    RequestIpl("h4_nw_ipl_01_lod")

    RequestIpl("h4_se_ipl_05_slod")

    RequestIpl("h4_sw_ipl_01_lod")

    RequestIpl("h4_nw_ipl_05")

    RequestIpl("h4_islandxdock_props_2_lod")

    RequestIpl("h4_ne_ipl_04_lod")

    RequestIpl("h4_ne_ipl_01")

    RequestIpl("h4_beach_party_lod")

    RequestIpl("h4_islandx_mansion_lights")

    RequestIpl("h4_sw_ipl_00_lod")

    RequestIpl("h4_islandx_mansion_guardfence")

    RequestIpl("h4_beach_props_party")

    RequestIpl("h4_ne_ipl_03_lod")

    RequestIpl("h4_islandx_mansion_b")

    RequestIpl("h4_beach_bar_props")

    RequestIpl("h4_ne_ipl_04")

    RequestIpl("h4_sw_ipl_08_slod")

    RequestIpl("h4_islandxtower")

    RequestIpl("h4_se_ipl_00_slod")

    RequestIpl("h4_islandx_barrack_hatch")

    RequestIpl("h4_ne_ipl_06_slod")

    RequestIpl("h4_ne_ipl_03_slod")

    RequestIpl("h4_sw_ipl_09_slod")

    RequestIpl("h4_ne_ipl_02_slod")

    RequestIpl("h4_nw_ipl_04_slod")

    RequestIpl("h4_ne_ipl_05_lod")

    RequestIpl("h4_nw_ipl_08_slod")

    RequestIpl("h4_sw_ipl_05_slod")

    RequestIpl("h4_islandx_mansion_b_lod")

    RequestIpl("h4_ne_ipl_08")

    RequestIpl("h4_islandxdock_props")

    RequestIpl("h4_islandairstrip_doorsopen_lod")

    RequestIpl("h4_se_ipl_05_lod")

    RequestIpl("h4_islandxcanal_props_slod")

    RequestIpl("h4_mansion_gate_closed")

    RequestIpl("h4_se_ipl_02_slod")

    RequestIpl("h4_nw_ipl_02")

    RequestIpl("h4_ne_ipl_08_lod")

    RequestIpl("h4_sw_ipl_08")

    RequestIpl("h4_islandairstrip")

    RequestIpl("h4_islandairstrip_props_lod")

    RequestIpl("h4_se_ipl_05")

    RequestIpl("h4_ne_ipl_02_lod")

    RequestIpl("h4_islandx_maindock_props_2_lod")

    RequestIpl("h4_sw_ipl_03_slod")

    RequestIpl("h4_ne_ipl_01_slod")

    RequestIpl("h4_beach_props_slod")

    RequestIpl("h4_underwater_gate_closed")

    RequestIpl("h4_ne_ipl_00_lod")

    RequestIpl("h4_islandairstrip_doorsopen")

    RequestIpl("h4_sw_ipl_01_slod")

    RequestIpl("h4_se_ipl_00")

    RequestIpl("h4_se_ipl_06")

    RequestIpl("h4_islandx_mansion_lockup_02_lod")

    RequestIpl("h4_islandxtower_veg_lod")

    RequestIpl("h4_sw_ipl_00")

    RequestIpl("h4_se_ipl_04_lod")

    RequestIpl("h4_nw_ipl_07_slod")

    RequestIpl("h4_islandx_mansion_props_lod")

    RequestIpl("h4_islandairstrip_hangar_props")

    RequestIpl("h4_nw_ipl_06_lod")

    RequestIpl("h4_islandxtower_lod")

    RequestIpl("h4_islandxdock_lod")

    RequestIpl("h4_islandxdock_props_lod")

    RequestIpl("h4_beach_party")

    RequestIpl("h4_nw_ipl_06_slod")

    RequestIpl("h4_islandairstrip_doorsclosed")

    RequestIpl("h4_nw_ipl_00_lod")

    RequestIpl("h4_ne_ipl_02")

    RequestIpl("h4_islandxdock_slod")

    RequestIpl("h4_se_ipl_07_slod")

    RequestIpl("h4_islandxdock")

    RequestIpl("h4_islandxdock_props_2_slod")

    RequestIpl("h4_islandairstrip_props")

    RequestIpl("h4_sw_ipl_09")

    RequestIpl("h4_ne_ipl_06")

    RequestIpl("h4_se_ipl_03_lod")

    RequestIpl("h4_nw_ipl_03")

    RequestIpl("h4_islandx_mansion_lockup_01_lod")

    RequestIpl("h4_beach_lod")

    RequestIpl("h4_ne_ipl_07_lod")

    RequestIpl("h4_nw_ipl_01")

    RequestIpl("h4_mph4_island_lod")

    RequestIpl("h4_islandx_mansion_office_lod")

    RequestIpl("h4_islandairstrip_lod")

    RequestIpl("h4_beach_props_lod")

    RequestIpl("h4_nw_ipl_05_slod")

    RequestIpl("h4_islandx_checkpoint_lod")

    RequestIpl("h4_nw_ipl_05_lod")

    RequestIpl("h4_nw_ipl_03_slod")

    RequestIpl("h4_nw_ipl_03_lod")

    RequestIpl("h4_sw_ipl_05")

    RequestIpl("h4_mph4_mansion")

    RequestIpl("h4_sw_ipl_03")

    RequestIpl("h4_se_ipl_08_slod")

    RequestIpl("h4_mph4_island_ne_placement")

    RequestIpl("h4_aa_guns")

    RequestIpl("h4_islandairstrip_propsb_slod")

    RequestIpl("h4_sw_ipl_01")

    RequestIpl("h4_mansion_remains_cage")

    RequestIpl("h4_nw_ipl_01_slod")

    RequestIpl("h4_ne_ipl_06_lod")

    RequestIpl("h4_se_ipl_08")

    RequestIpl("h4_sw_ipl_04_slod")

    RequestIpl("h4_sw_ipl_04_lod")

    RequestIpl("h4_mph4_beach")

    RequestIpl("h4_sw_ipl_06_lod")

    RequestIpl("h4_sw_ipl_06_slod")

    RequestIpl("h4_se_ipl_00_lod")

    RequestIpl("h4_ne_ipl_07_slod")

    RequestIpl("h4_mph4_mansion_strm_0")

    RequestIpl("h4_nw_ipl_02_slod")

    RequestIpl("h4_mph4_airstrip")

    --RequestIpl("h4_mansion_gate_broken")

    RequestIpl("h4_island_padlock_props")

    RequestIpl("h4_islandairstrip_props_slod")

    RequestIpl("h4_nw_ipl_06")

    RequestIpl("h4_sw_ipl_09_lod")

    RequestIpl("h4_islandxcanal_props_lod")

    RequestIpl("h4_ne_ipl_05_slod")

    RequestIpl("h4_se_ipl_09_slod")

    RequestIpl("h4_islandx_mansion_vault_lod")

    RequestIpl("h4_se_ipl_03_slod")

    RequestIpl("h4_nw_ipl_08_lod")

    RequestIpl("h4_islandx_barrack_props_slod")

    RequestIpl("h4_islandxtower_veg_slod")

    RequestIpl("h4_sw_ipl_04")

    RequestIpl("h4_islandx_mansion_props")

    RequestIpl("h4_islandxtower_slod")

    RequestIpl("h4_beach_props")

    RequestIpl("h4_islandx_mansion_b_slod")

    RequestIpl("h4_islandx_maindock_props_slod")

    RequestIpl("h4_sw_ipl_07_slod")

    RequestIpl("h4_ne_ipl_07")

    RequestIpl("h4_islandxdock_props_2")

    RequestIpl("h4_ne_ipl_09_lod")

    RequestIpl("h4_islandxcanal_props")

    RequestIpl("h4_beach_slod")

    RequestIpl("h4_sw_ipl_00_slod")

    RequestIpl("h4_sw_ipl_03_lod")

    RequestIpl("h4_islandx_disc_strandedshark")

    RequestIpl("h4_islandx_disc_strandedshark_lod")

    RequestIpl("h4_islandx")

    RequestIpl("h4_islandx_props_lod")

    RequestIpl("h4_mph4_island_strm_0")

    RequestIpl("h4_islandx_sea_mines")

    RequestIpl("h4_mph4_island")

    RequestIpl("h4_boatblockers")

    RequestIpl("h4_mph4_island_long_0")

    RequestIpl("h4_islandx_disc_strandedwhale")

    RequestIpl("h4_islandx_disc_strandedwhale_lod")

    RequestIpl("h4_islandx_props")

    RequestIpl("h4_int_placement_h4_interior_1_dlc_int_02_h4_milo_")

    RequestIpl("h4_int_placement_h4_interior_0_int_sub_h4_milo_")

    RequestIpl("h4_int_placement_h4")

end)
2 Likes
  • pause menu map / radar stuff : i used the snippet someone have shared on the forum, there is probably a better way to load them.
  • ipl list is better, no redundant things like lod stuff (source: gta files).
  • some things are probably impossible to force-load like that without unloading the LS.
local requestedIpl = {
	"h4_islandairstrip",
	"h4_islandairstrip_props",
	"h4_islandx_mansion",
	"h4_islandx_mansion_props",
	"h4_islandx_props",
	"h4_islandxdock",
	"h4_islandxdock_props",
	"h4_islandxdock_props_2",
	"h4_islandxtower",
	"h4_islandx_maindock",
	"h4_islandx_maindock_props",
	"h4_islandx_maindock_props_2",
	"h4_IslandX_Mansion_Vault",
	"h4_islandairstrip_propsb",
	"h4_beach",
	"h4_beach_props",
	"h4_beach_bar_props",
	"h4_islandx_barrack_props",
	"h4_islandx_checkpoint",
	"h4_islandx_checkpoint_props",
	"h4_islandx_Mansion_Office",
	"h4_islandx_Mansion_LockUp_01",
	"h4_islandx_Mansion_LockUp_02",
	"h4_islandx_Mansion_LockUp_03",
	"h4_islandairstrip_hangar_props",
	"h4_IslandX_Mansion_B",
	"h4_islandairstrip_doorsclosed",
	"h4_Underwater_Gate_Closed",
	"h4_mansion_gate_closed",
	"h4_aa_guns",
	"h4_IslandX_Mansion_GuardFence",
	"h4_IslandX_Mansion_Entrance_Fence",
	"h4_IslandX_Mansion_B_Side_Fence",
	"h4_IslandX_Mansion_Lights",
	"h4_islandxcanal_props",
	"h4_beach_props_party",
	"h4_islandX_Terrain_props_06_a",
	"h4_islandX_Terrain_props_06_b",
	"h4_islandX_Terrain_props_06_c",
	"h4_islandX_Terrain_props_05_a",
	"h4_islandX_Terrain_props_05_b",
	"h4_islandX_Terrain_props_05_c",
	"h4_islandX_Terrain_props_05_d",
	"h4_islandX_Terrain_props_05_e",
	"h4_islandX_Terrain_props_05_f",
	"H4_islandx_terrain_01",
	"H4_islandx_terrain_02",
	"H4_islandx_terrain_03",
	"H4_islandx_terrain_04",
	"H4_islandx_terrain_05",
	"H4_islandx_terrain_06",
	"h4_ne_ipl_00",
	"h4_ne_ipl_01",
	"h4_ne_ipl_02",
	"h4_ne_ipl_03",
	"h4_ne_ipl_04",
	"h4_ne_ipl_05",
	"h4_ne_ipl_06",
	"h4_ne_ipl_07",
	"h4_ne_ipl_08",
	"h4_ne_ipl_09",
	"h4_nw_ipl_00",
	"h4_nw_ipl_01",
	"h4_nw_ipl_02",
	"h4_nw_ipl_03",
	"h4_nw_ipl_04",
	"h4_nw_ipl_05",
	"h4_nw_ipl_06",
	"h4_nw_ipl_07",
	"h4_nw_ipl_08",
	"h4_nw_ipl_09",
	"h4_se_ipl_00",
	"h4_se_ipl_01",
	"h4_se_ipl_02",
	"h4_se_ipl_03",
	"h4_se_ipl_04",
	"h4_se_ipl_05",
	"h4_se_ipl_06",
	"h4_se_ipl_07",
	"h4_se_ipl_08",
	"h4_se_ipl_09",
	"h4_sw_ipl_00",
	"h4_sw_ipl_01",
	"h4_sw_ipl_02",
	"h4_sw_ipl_03",
	"h4_sw_ipl_04",
	"h4_sw_ipl_05",
	"h4_sw_ipl_06",
	"h4_sw_ipl_07",
	"h4_sw_ipl_08",
	"h4_sw_ipl_09",
	"h4_islandx_mansion",
	"h4_islandxtower_veg",
	"h4_islandx_sea_mines",
	"h4_islandx",
	"h4_islandx_barrack_hatch",
	"h4_islandxdock_water_hatch",
	"h4_beach_party"
}

CreateThread(function()
	for i = #requestedIpl, 1, -1 do
		RequestIpl(requestedIpl[i])
		requestedIpl[i] = nil
	end

	requestedIpl = nil
end)

CreateThread(function()
	while true do
		SetRadarAsExteriorThisFrame()
		SetRadarAsInteriorThisFrame(`h4_fake_islandx`, vec(4700.0, -5145.0), 0, 0)
		Wait(0)
	end
end)

CreateThread(function()
	Wait(2500)
	local islandLoaded = false
	local islandCoords = vector3(4840.571, -5174.425, 2.0)
	SetDeepOceanScaler(0.0)

	while true do
		local pCoords = GetEntityCoords(PlayerPedId())

		if #(pCoords - islandCoords) < 2000.0 then
			if not islandLoaded then
				islandLoaded = true
				Citizen.InvokeNative(0xF74B1FFA4A15FBEA, 1) -- island path nodes (from Disquse)
			end
		else
			if islandLoaded then
				islandLoaded = false
				Citizen.InvokeNative(0xF74B1FFA4A15FBEA, 0)
			end
		end

		Wait(5000)
	end
end)
9 Likes

Same problem did you found a fix?

1 Like

After adding set sv_enforceGameBuild 2189 to my server.cfg I receive a message that I can only read parameters from cfg file, but not set.