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