0.0.1
This commit is contained in:
7
resources/[standalone]/bob74_ipl/dlc_money/base.lua
Normal file
7
resources/[standalone]/bob74_ipl/dlc_money/base.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
CreateThread(function()
|
||||
RequestIpl("m25_1_legacy_fixes")
|
||||
RequestIpl("m25_1_mp2025_01_additions")
|
||||
RequestIpl("m25_1_bobcat")
|
||||
RequestIpl("m25_1_garage")
|
||||
RequestIpl("m25_1_quikpharma")
|
||||
end)
|
||||
44
resources/[standalone]/bob74_ipl/dlc_money/carwash.lua
Normal file
44
resources/[standalone]/bob74_ipl/dlc_money/carwash.lua
Normal file
@@ -0,0 +1,44 @@
|
||||
-- Car wash: 26.074, -1398.979, -75.0
|
||||
exports("GetMoneyCarwash", function()
|
||||
return MoneyCarwash
|
||||
end)
|
||||
|
||||
MoneyCarwash = {
|
||||
interiorId = 298497,
|
||||
|
||||
Ipl = {
|
||||
Exterior = {
|
||||
ipl = "m25_1_carwash",
|
||||
|
||||
Load = function()
|
||||
EnableIpl(MoneyCarwash.Ipl.Exterior.ipl, true)
|
||||
end,
|
||||
Remove = function()
|
||||
EnableIpl(MoneyCarwash.Ipl.Exterior.ipl, false)
|
||||
end
|
||||
}
|
||||
},
|
||||
|
||||
Style = {
|
||||
default = "set_carwash_tints",
|
||||
|
||||
Set = function(style, refresh)
|
||||
MoneyCarwash.Style.Clear(refresh)
|
||||
|
||||
SetIplPropState(MoneyCarwash.interiorId, style, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(MoneyCarwash.interiorId, MoneyCarwash.Style.default, false, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
-- Exterior
|
||||
MoneyCarwash.Ipl.Exterior.Load()
|
||||
|
||||
-- Interior
|
||||
MoneyCarwash.Style.Set(MoneyCarwash.Style.default, false)
|
||||
|
||||
RefreshInterior(MoneyCarwash.interiorId)
|
||||
end
|
||||
}
|
||||
29
resources/[standalone]/bob74_ipl/dlc_money/construction.lua
Normal file
29
resources/[standalone]/bob74_ipl/dlc_money/construction.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
-- Construction
|
||||
exports("GetMoneyConstruction", function()
|
||||
return MoneyConstruction
|
||||
end)
|
||||
|
||||
MoneyConstruction = {
|
||||
-- 678.040, 769.674, 205.0
|
||||
Vinewood = {
|
||||
ipl = "m25_1_ch2_04_construction",
|
||||
|
||||
Enable = function(state)
|
||||
EnableIpl(MoneyConstruction.Vinewood.ipl, state)
|
||||
end
|
||||
},
|
||||
|
||||
-- -1671.08, 494.0945, 128.0
|
||||
Rockford = {
|
||||
ipl = "m25_1_cs1_06e_construction",
|
||||
|
||||
Enable = function(state)
|
||||
EnableIpl(MoneyConstruction.Rockford.ipl, state)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
MoneyConstruction.Vinewood.Enable(true)
|
||||
MoneyConstruction.Rockford.Enable(true)
|
||||
end
|
||||
}
|
||||
57
resources/[standalone]/bob74_ipl/dlc_money/office.lua
Normal file
57
resources/[standalone]/bob74_ipl/dlc_money/office.lua
Normal file
@@ -0,0 +1,57 @@
|
||||
-- Office: -1160.493, -1538.932, -50.0
|
||||
exports("GetMoneyOffice", function()
|
||||
return MoneyOffice
|
||||
end)
|
||||
|
||||
MoneyOffice = {
|
||||
interiorId = 298753,
|
||||
|
||||
Ipl = {
|
||||
Exterior = {
|
||||
ipl = {
|
||||
"m25_1_helitours",
|
||||
"m25_1_smokeonthewater"
|
||||
},
|
||||
|
||||
Load = function()
|
||||
EnableIpl(MoneyOffice.Ipl.Exterior.ipl, true)
|
||||
end,
|
||||
Remove = function()
|
||||
EnableIpl(MoneyOffice.Ipl.Exterior.ipl, false)
|
||||
end
|
||||
}
|
||||
},
|
||||
|
||||
Style = {
|
||||
heli = {
|
||||
"set_heli",
|
||||
"set_heli_tint"
|
||||
},
|
||||
smoke = {
|
||||
"set_smoke",
|
||||
"set_smoke_tint"
|
||||
},
|
||||
|
||||
Set = function(style, refresh)
|
||||
MoneyOffice.Style.Clear(refresh)
|
||||
|
||||
SetIplPropState(MoneyOffice.interiorId, style, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(MoneyOffice.interiorId, {
|
||||
MoneyOffice.Style.heli,
|
||||
MoneyOffice.Style.smoke
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
-- Exterior
|
||||
MoneyOffice.Ipl.Exterior.Load()
|
||||
|
||||
-- Interior
|
||||
MoneyOffice.Style.Set(MoneyOffice.Style.heli, false)
|
||||
|
||||
RefreshInterior(MoneyOffice.interiorId)
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user