[Releases] [Free] Cayo Perico Improvements Freeroam 4.2.2

I don’t mind helping you if I am asked.

1 Like

Hello, have you done it like this ? :slight_smile:

Else I’d love to know how if you don’t mind. :smiley:

no, by using a loader, which means cayo and LS is always visible

I forgot to quote only the first part about the radar my bad. What is used in your loader to load both minimap ? Maybe you have a link ?

1 Like

I’m all ears lol

What loader?

island.7z (1.8 KB)
i use this as my loader
and it shows both islands

Thank you, but this as the same issue as this :frowning:

:thinking: I wonder if that “this frame” nonsense could “fix” it @AvaN0x

I think that with this way of adding both island to the minimap, we would have to check if the player ped is inside of an interior with https://docs.fivem.net/natives/?_0x2107BA504071A6BB and draw the minimap if not. Something could be done with IsMinimapInInterior - Natives @ Cfx.re Docs ? (I am assuming that this is getter wheter the player is looking at the inside of an interior, or switched back to the full map witl CAPS LOCK ? EDIT : it does)

Might check this out later today, but… I don’t like adding checks for something that should be this simple :confused:
I see two possible best ways to do it, either find a way to stream the minimap all the time, either find a way to create a native (I have no idea how this could be done, haven’t really be looking at how fivem’s code work) which load cayo without removing los santos
(Might be wrong though)

2 Likes

Found a way to have it, only issue is the minimap edges preventing us from going above cayo perico :

local _isCloseToCayo = false
local _isCayoMinimapLoaded = false

Citizen.CreateThread(function()
    while true do
        local isCloseToCayo = #(GetEntityCoords(PlayerPedId()) - vector3(4858.0, -5171.0, 2.0)) < 2200.0

        if _isCloseToCayo ~= isCloseToCayo then
            _isCloseToCayo = isCloseToCayo
            _isCayoMinimapLoaded = isCloseToCayo

            -- switch radar interior
            SetToggleMinimapHeistIsland(_isCloseToCayo)
        end

        Wait(5000)
    end
end)

CreateThread(function()
    while true do
        local wait = 500
        if IsPauseMenuActive() and not IsMinimapInInterior() then
            if _isCayoMinimapLoaded then
                _isCayoMinimapLoaded = false
                SetToggleMinimapHeistIsland(false)
            end
            SetRadarAsExteriorThisFrame()
            SetRadarAsInteriorThisFrame(GetHashKey("h4_fake_islandx"), 4700.0, -5145.0, 0, 0)
            wait = 0
        elseif not _isCayoMinimapLoaded and _isCloseToCayo then
            _isCayoMinimapLoaded = true
            SetToggleMinimapHeistIsland(true)
        end
        Wait(wait)
    end
end)

EDIT: this solution is more detailed in there [HOW-TO] Load CayoPerico minimap all of the time

I think I followed all the steps to install the CayoImprovements (version 4.1.7) and it’s OK, but at the Island Beach Party DJ area, I can’t see the table and all the sound speakers under the TVs. I tried also disabling CayoImprovements and enabling CayoTwoIslands and the problem is the same: no sound speakers or the table where are the DJ drinks.

I also see, from time to time, cars floating at the water, doing same path as the boat, near the Beach Party.

What did I do wrong?

Update: Something is removing all DJ objects, including the speakers and other objects, as I don’t have them with the original Island (your updates disabled) and I can’t find how.

1 Like

Never encountered this issue, sorry. So I don’t know as it’s fine for me

1 Like

Seems to do this if you teleported from Los Santos to Cayo Perico quickly, otherwise it’s fine.

1 Like

If they still do not appear, even without this resource, then there is something weird going on, my only suspicion would be that you are somehow missing the files in your own copy of GTA 5 and perhaps you need to update your game or verify the files.

However if they are not appearing for anyone at all, then that would mean the manifest file for the resource, hasn’t included them, which, is odd because it’s working fine for me.

Can you please try updating your GTA 5, verifying the files, (search YouTube if you don’t know how), and make sure you have Correctly set your server to the right DLC build and read everything here

1 Like

Thanks for the help. Another MLO, Paleto Beach Party, is using the same beach props and is using other speakers, getting rid of defaults. That also deletes Cayo Perico speakers and other prop. Disabling this MLO solves the proble.

1 Like

Hmm… that’s weird… Glad you could resolve the problem, I’ll be sure to keep a note of this. What the Paleto Bay Beach Party MLO creator should be doing, is generating a manifest. You can copy props from one location and use them somewhere else, however you need to generate a manifest and simply copy the prop, rather than move it from it’s original location, which is what I’m guessing they did.

1 Like

Each time I start CayoImprovements or CayoTwoIslands, I get this ship (only the skeleton) at Paleto Cove, between the little islands. Can you help?


I didn’t notice that! It’s possible that I put it in the list of IPLs to request, you can easily remove it.

Are you 100% sure that it appears even without my resources? Because I will need to prove this.

@CT1AIC

Ok, so I booted up codewalker and that boat is a “scripted ymap” from the mpheist4 DLC aka 2189 or Cayo Perico, which means it’s likely IPL related.

After investigating CayoTwoIslands, I discovered that yes, there were yacht related IPLs being requested, however this resource, CayoImprovements, should not have any being requested.

I’ve updated CayoTwoIslands. Thanks for bringing this to my attention @CT1AIC

1 Like