SetInteriorFurnitureEnabled
From Multi Theft Auto: Wiki
This function toggles furniture generation in interiors with the specified room ID.
Syntax
bool setInteriorFurnitureEnabled ( int roomID, bool enabled )
Required Arguments
- roomID: The room type which you want disable or enable the furniture in:
- 0: shop
- 1: office
- 2: lounge
- 3: bedroom
- 4: kitchen
- enabled: A bool representing whether the interior furniture is enabled or disabled.
Returns
Returns true if successful, false otherwise.
Example
Click to collapse [-]
Client-- Disable furnishing for all rooms for i = 0, 4 do setInteriorFurnitureEnabled(i, false) end
See Also
- areTrafficLightsLocked
- getAircraftMaxVelocity
- getCloudsEnabled
- getFarClipDistance
- getFogDistance
- getGameSpeed
- getGravity
- getHeatHaze
- getJetpackMaxHeight
- getJetpackWeaponEnabled
- getMinuteDuration
- getMoonSize
- getOcclusionsEnabled
- getRainLevel
- getSkyGradient
- getSunColor
- getSunSize
- getTime
- getTrafficLightState
- getWeather
- getWindVelocity
- getZoneName
- isGarageOpen
- removeWorldModel
- resetFarClipDistance
- resetFogDistance
- resetHeatHaze
- resetMoonSize
- resetRainLevel
- resetSkyGradient
- resetSunColor
- resetSunSize
- resetWindVelocity
- restoreAllWorldModels
- restoreWorldModel
- setAircraftMaxVelocity
- setCloudsEnabled
- setFarClipDistance
- setFogDistance
- setGameSpeed
- setGarageOpen
- setGravity
- setHeatHaze
- setInteriorSoundsEnabled
- setJetpackWeaponEnabled
- setMinuteDuration
- setMoonSize
- setOcclusionsEnabled
- setRainLevel
- setSkyGradient
- setSunColor
- setSunSize
- setTime
- setTrafficLightState
- setTrafficLightsLocked
- setWeather
- setWeatherBlended
- setWindVelocity