fiskce
November 14, 2024, 6:51am
1
Hey Everyone… im currently on my way to develop gamemodes for a server, and it requires that Cayo is the only visible thing on the map. ive seen this on other servers and cant find any good advice on how do it
The default behavior of the island is to hide the main map, if you see both it means you installed a map resource.
-- set island hopper config
SetIslandEnabled('HeistIsland', true) -- or use false to disable it
-- instead of using island hopper you can *also* just load the IPLs mentioned in islandhopper.meta yourself somewhat
-- switch radar interior
SetUseIslandMap(true)
-- misc natives
SetAiGlobalPathNodesType(1)
LoadGlobalWaterType(1)
SetScenarioGroupEnabled('Heist_Island_Peds', true)
-- audio stuff
SetAudioFlag('PlayerOnDLCHeist4Island', true)
SetAmbientZoneListStatePersistent('AZL_DLC_Hei4_Island_Zones', true, true)
SetAmbientZoneListStatePersistent('AZL_DLC_Hei4_Island_Disabled_Zones', false, true)