From 8a904d111c6998337980fa83e49158dcdba87367 Mon Sep 17 00:00:00 2001 From: TheIndra55 Date: Thu, 15 Aug 2024 00:57:56 +0200 Subject: [PATCH] Add more missing b2189 IPLs --- dlc_cayoperico/base.lua | 3 +++ dlc_cayoperico/nightclub.lua | 18 ++++++++++++++++++ fxmanifest.lua | 1 + 3 files changed, 22 insertions(+) create mode 100644 dlc_cayoperico/base.lua diff --git a/dlc_cayoperico/base.lua b/dlc_cayoperico/base.lua new file mode 100644 index 0000000..8ed230a --- /dev/null +++ b/dlc_cayoperico/base.lua @@ -0,0 +1,3 @@ +CreateThread(function() + RequestIpl("h4_ch2_mansion_final") +end) \ No newline at end of file diff --git a/dlc_cayoperico/nightclub.lua b/dlc_cayoperico/nightclub.lua index 02e21d3..a2c35d0 100644 --- a/dlc_cayoperico/nightclub.lua +++ b/dlc_cayoperico/nightclub.lua @@ -6,6 +6,18 @@ end) CayoPericoNightclub = { interiorId = 281089, + Ipl = { + Posters = { + palmstraxx = "h4_clubposter_palmstraxx", + moodymann = "h4_clubposter_moodymann", + keinemusik = "h4_clubposter_keinemusik", + + Enable = function(poster, state) + EnableIpl(poster, state) + end + } + }, + Security = { security = "int01_ba_security_upgrade", @@ -176,6 +188,7 @@ CayoPericoNightclub = { }, LoadDefault = function() + -- Interior CayoPericoNightclub.Security.Enable(true, false) CayoPericoNightclub.Speakers.Set(CayoPericoNightclub.Speakers.basic, false) CayoPericoNightclub.Podium.Enable(true, false) @@ -184,6 +197,11 @@ CayoPericoNightclub = { CayoPericoNightclub.Screen.Enable(CayoPericoNightclub.Screen.front, true, false) CayoPericoNightclub.Lights.Lasers.Set(CayoPericoNightclub.Lights.Lasers.style04, false) + -- Exterior + CayoPericoNightclub.Ipl.Posters.Enable(CayoPericoNightclub.Ipl.Posters.palmstraxx, true) + CayoPericoNightclub.Ipl.Posters.Enable(CayoPericoNightclub.Ipl.Posters.moodymann, true) + CayoPericoNightclub.Ipl.Posters.Enable(CayoPericoNightclub.Ipl.Posters.keinemusik, true) + RefreshInterior(CayoPericoNightclub.interiorId) end } \ No newline at end of file diff --git a/fxmanifest.lua b/fxmanifest.lua index de9e26f..729b354 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -107,6 +107,7 @@ client_scripts { , "dlc_casino/penthouse.lua" -- DLC Cayo Perico Heist (Requires forced build 2189 or higher) + , "dlc_cayoperico/base.lua" , "dlc_cayoperico/nightclub.lua" , "dlc_cayoperico/submarine.lua"