Scripts/resources/[standalone]/bob74_ipl/gta_online/house_hi_6.lua

58 lines
1.5 KiB
Lua
Raw Normal View History

2024-12-29 20:02:20 +00:00
-- 2874 Hillcrest Avenue
-- High end house 6: -857.798 682.563 152.6529
exports('GetGTAOHouseHi6Object', function()
return GTAOHouseHi6
end)
GTAOHouseHi6 = {
interiorId = 207361,
Strip = {
A = "Apart_Hi_Strip_A",
B = "Apart_Hi_Strip_B",
C = "Apart_Hi_Strip_C",
Enable = function(details, state, refresh)
SetIplPropState(GTAOHouseHi6.interiorId, details, state, refresh)
end
},
Booze = {
A = "Apart_Hi_Booze_A",
B = "Apart_Hi_Booze_B",
C = "Apart_Hi_Booze_C",
Enable = function(details, state, refresh)
SetIplPropState(GTAOHouseHi6.interiorId, details, state, refresh)
end
},
Smoke = {
A = "Apart_Hi_Smokes_A",
B = "Apart_Hi_Smokes_B",
C = "Apart_Hi_Smokes_C",
Enable = function(details, state, refresh)
SetIplPropState(GTAOHouseHi6.interiorId, details, state, refresh)
end
},
LoadDefault = function()
GTAOHouseHi6.Strip.Enable({
GTAOHouseHi6.Strip.A,
GTAOHouseHi6.Strip.B,
GTAOHouseHi6.Strip.C
}, false)
GTAOHouseHi6.Booze.Enable({
GTAOHouseHi6.Booze.A,
GTAOHouseHi6.Booze.B,
GTAOHouseHi6.Booze.C
}, false)
GTAOHouseHi6.Smoke.Enable({
GTAOHouseHi6.Smoke.A,
GTAOHouseHi6.Smoke.B,
GTAOHouseHi6.Smoke.C
}, false)
RefreshInterior(GTAOHouseHi6.interiorId)
end
}