Main/resources/[defaultmaps]/trooper-mansion1/subham_mansion1_entitysets.lua
2025-06-13 17:04:47 +02:00

24 lines
709 B
Lua

local entitySets = {
["subham_mansion1_furnished_int"] = true, -- Set false for non-furnished Interior
}
-- Do not edit anything from here
Citizen.CreateThread(function()
RequestIpl("subham_mansion1_milo_")
local interiorID = GetInteriorAtCoords(-888.9797, 48.87651, 51.9246254)
if IsValidInterior(interiorID) then
for prop, enable in pairs(entitySets) do
if enable then
EnableInteriorProp(interiorID, prop)
else
DisableInteriorProp(interiorID, prop)
end
end
RefreshInterior(interiorID)
print("Mansion 1 is ready to use. Do not edit anything to ensure a smooth experience")
end
end)