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

58 lines
1.5 KiB
Lua
Raw Normal View History

2024-12-29 20:02:20 +00:00
-- 2868 Hillcrest Avenue
-- High end house 5: -763.107 615.906 144.1401
exports('GetGTAOHouseHi5Object', function()
return GTAOHouseHi5
end)
GTAOHouseHi5 = {
interiorId = 207617,
Strip = {
A = "Apart_Hi_Strip_A",
B = "Apart_Hi_Strip_B",
C = "Apart_Hi_Strip_C",
Enable = function(details, state, refresh)
SetIplPropState(GTAOHouseHi5.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(GTAOHouseHi5.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(GTAOHouseHi5.interiorId, details, state, refresh)
end
},
LoadDefault = function()
GTAOHouseHi5.Strip.Enable({
GTAOHouseHi5.Strip.A,
GTAOHouseHi5.Strip.B,
GTAOHouseHi5.Strip.C
}, false)
GTAOHouseHi5.Booze.Enable({
GTAOHouseHi5.Booze.A,
GTAOHouseHi5.Booze.B,
GTAOHouseHi5.Booze.C
}, false)
GTAOHouseHi5.Smoke.Enable({
GTAOHouseHi5.Smoke.A,
GTAOHouseHi5.Smoke.B,
GTAOHouseHi5.Smoke.C
}, false)
RefreshInterior(GTAOHouseHi5.interiorId)
end
}