housing
This commit is contained in:
parent
6d90da2841
commit
b71b47a9fb
169 changed files with 12687 additions and 2932 deletions
28
resources/[housing]/bob74_ipl/dlc_heists/carrier.lua
Normal file
28
resources/[housing]/bob74_ipl/dlc_heists/carrier.lua
Normal file
|
@ -0,0 +1,28 @@
|
|||
-- Heist Carrier: 3082.3117 -4717.1191 15.2622
|
||||
exports('GetHeistCarrierObject', function()
|
||||
return HeistCarrier
|
||||
end)
|
||||
|
||||
HeistCarrier = {
|
||||
ipl = {
|
||||
"hei_carrier",
|
||||
"hei_carrier_int1",
|
||||
"hei_carrier_int1_lod",
|
||||
"hei_carrier_int2",
|
||||
"hei_carrier_int2_lod",
|
||||
"hei_carrier_int3",
|
||||
"hei_carrier_int3_lod",
|
||||
"hei_carrier_int4",
|
||||
"hei_carrier_int4_lod",
|
||||
"hei_carrier_int5",
|
||||
"hei_carrier_int5_lod",
|
||||
"hei_carrier_int6",
|
||||
"hei_carrier_int6_lod",
|
||||
"hei_carrier_lod",
|
||||
"hei_carrier_slod"
|
||||
},
|
||||
|
||||
Enable = function(state)
|
||||
EnableIpl(HeistCarrier.ipl, state)
|
||||
end
|
||||
}
|
57
resources/[housing]/bob74_ipl/dlc_heists/yacht.lua
Normal file
57
resources/[housing]/bob74_ipl/dlc_heists/yacht.lua
Normal file
|
@ -0,0 +1,57 @@
|
|||
-- Heist Yatch: -2043.974,-1031.582, 11.981
|
||||
exports('GetHeistYachtObject', function()
|
||||
return HeistYacht
|
||||
end)
|
||||
|
||||
HeistYacht = {
|
||||
ipl = {
|
||||
"hei_yacht_heist",
|
||||
"hei_yacht_heist_bar",
|
||||
"hei_yacht_heist_bar_lod",
|
||||
"hei_yacht_heist_bedrm",
|
||||
"hei_yacht_heist_bedrm_lod",
|
||||
"hei_yacht_heist_bridge",
|
||||
"hei_yacht_heist_bridge_lod",
|
||||
"hei_yacht_heist_enginrm",
|
||||
"hei_yacht_heist_enginrm_lod",
|
||||
"hei_yacht_heist_lod",
|
||||
"hei_yacht_heist_lounge",
|
||||
"hei_yacht_heist_lounge_lod",
|
||||
"hei_yacht_heist_slod"
|
||||
},
|
||||
|
||||
Enable = function(state)
|
||||
EnableIpl(HeistYacht.ipl, state)
|
||||
end,
|
||||
Water = {
|
||||
modelHash = `apa_mp_apa_yacht_jacuzzi_ripple1`,
|
||||
|
||||
Enable = function(state)
|
||||
local handle = GetClosestObjectOfType(-2023.773, -1038.0, 5.40, 5.0, HeistYacht.Water.modelHash, false, false, false)
|
||||
|
||||
if state then
|
||||
-- Enable
|
||||
if handle == 0 then
|
||||
RequestModel(HeistYacht.Water.modelHash)
|
||||
while not HasModelLoaded(HeistYacht.Water.modelHash) do
|
||||
Wait(0)
|
||||
end
|
||||
|
||||
local water = CreateObjectNoOffset(HeistYacht.Water.modelHash, -2023.773, -1038.0, 5.40, false, false, false)
|
||||
|
||||
SetEntityAsMissionEntity(water, false, false)
|
||||
end
|
||||
else
|
||||
-- Disable
|
||||
if handle ~= 0 then
|
||||
SetEntityAsMissionEntity(handle, false, false)
|
||||
DeleteEntity(handle)
|
||||
end
|
||||
end
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
HeistYacht.Enable(true)
|
||||
end
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue