Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 community.

Guide Adding Cayo Perico island

SQueen

Marry
Master Moderator
Joined
Apr 28, 2021
Messages
7
Reaction score
8
Points
96
To add Cayo Perico Island, your GameBuild must be 2189, if you ask how to do it, you need to write set sv_enforceGameBuild 2189 to server.cfg, +set sv_enforceGameBuild 2189 to start.bat, then if you write the code line below, I will give you the island active in any client will become.


local islandVec = vector3(4840.571, -5174.425, 2.0)
Citizen.CreateThread(function()
while true do
local pCoords = GetEntityCoords(GetPlayerPed(-1))
local distance1 = #(pCoords - islandVec)
if distance1 < 2000.0 then
Citizen.InvokeNative("0x9A9D1BA639675CF1", "HeistIsland", true) -- load the map and removes the city
Citizen.InvokeNative("0x5E1460624D194A38", true) -- load the minimap/pause map and removes the city minimap/pause map
else
Citizen.InvokeNative("0x9A9D1BA639675CF1", "HeistIsland", false)
Citizen.InvokeNative("0x5E1460624D194A38", false)
end
Citizen.Wait(5000)
end
end)
 

Edyw

Member
Joined
Jul 23, 2021
Messages
1
Reaction score
0
Points
41
To add Cayo Perico Island, your GameBuild must be 2189, if you ask how to do it, you need to write set sv_enforceGameBuild 2189 to server.cfg, +set sv_enforceGameBuild 2189 to start.bat, then if you write the code line below, I will give you the island active in any client will become.
:p
 

Login or register to get more out of the forum!

Login or register to get more out of the forum!

Register

Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds