Skip to content

Commit 00f4c57

Browse files
committed
Add construction sites
1 parent ede90a1 commit 00f4c57

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

client.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,5 +239,6 @@ CreateThread(function()
239239
if GetGameBuildNumber() >= 3570 then
240240
MoneyCarwash.LoadDefault() -- 26.074, -1398.979, -75.0
241241
MoneyOffice.LoadDefault() -- -1160.493, -1538.932, -50.0
242+
MoneyConstruction.LoadDefault()
242243
end
243244
end)

dlc_money/construction.lua

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
-- Construction
2+
exports("GetMoneyConstruction", function()
3+
return MoneyConstruction
4+
end)
5+
6+
MoneyConstruction = {
7+
-- 678.040, 769.674, 205.0
8+
Vinewood = {
9+
ipl = "m25_1_ch2_04_construction",
10+
11+
Enable = function(state)
12+
EnableIpl(MoneyConstruction.Vinewood.ipl, state)
13+
end
14+
},
15+
16+
-- -1671.08, 494.0945, 128.0
17+
Rockford = {
18+
ipl = "m25_1_cs1_06e_construction",
19+
20+
Enable = function(state)
21+
EnableIpl(MoneyConstruction.Rockford.ipl, state)
22+
end
23+
},
24+
25+
LoadDefault = function()
26+
MoneyConstruction.Vinewood.Enable(true)
27+
MoneyConstruction.Rockford.Enable(true)
28+
end
29+
}

fxmanifest.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,4 +168,5 @@ client_scripts {
168168
, "dlc_money/base.lua"
169169
, "dlc_money/carwash.lua"
170170
, "dlc_money/office.lua"
171+
, "dlc_money/construction.lua"
171172
}

0 commit comments

Comments
 (0)