Main/resources/[defaultmaps]/trooper-mansion2/subham_mansion2_entitysets.lua

25 lines
713 B
Lua
Raw Permalink Normal View History

2025-06-07 08:51:21 +02:00
local entitySets = {
["subham_mansion2_furnished_int"] = true, -- Set false for non-furnished Interior
}
-- Do not edit anything from here
Citizen.CreateThread(function()
RequestIpl("subham_mansion2_milo_")
local interiorID = GetInteriorAtCoords(-904.597351, 114.127792, 56.5121956)
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 2 is ready to use. Do not edit anything to ensure a smooth experience")
end
end)