Skip to content

Commit

Permalink
Add more missing b2189 IPLs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheIndra55 committed Aug 14, 2024
1 parent 7fad0f5 commit 8a904d1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dlc_cayoperico/base.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CreateThread(function()
RequestIpl("h4_ch2_mansion_final")
end)
18 changes: 18 additions & 0 deletions dlc_cayoperico/nightclub.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Expand Down Expand Up @@ -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)
Expand All @@ -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
}
1 change: 1 addition & 0 deletions fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 8a904d1

Please sign in to comment.