24 lines
		
	
	
	
		
			713 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			713 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
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)
 |