GetInteriorFurnitureEnabled: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function}} | ||
{{New feature/item| | {{New feature/item|3.0135|1.3.5|6101| | ||
This function will tell you if interior furniture are enabled or disabled in a specified room ID. | This function will tell you if interior furniture are enabled or disabled in a specified room ID. | ||
}} | }} |
Latest revision as of 18:51, 26 July 2018
This function will tell you if interior furniture are enabled or disabled in a specified room ID.
Syntax
bool getInteriorFurnitureEnabled ( int roomID )
Returns
Returns true if interior furniture is enabled or false if interior furniture is disabled.
Example
function checkIntFurniture( cmd, roomID ) local roomID = tonumber( roomID ) if not roomID or roomID < 0 or roomID > 4 then outputChatBox( "Syntax: /" .. cmd .. " [room id: 0-4]", 220, 175, 20, false ) else if getInteriorFurnitureEnabled( roomID ) then outputChatBox("Interior furniture is enabled.", 20, 220, 20, false ) else outputChatBox("Interior furniture is disabled.", 220, 20, 20, false ) end end end addCommandHandler( "furniture", checkIntFurniture )
See Also
- areTrafficLightsLocked
- getAircraftMaxHeight
- getAircraftMaxVelocity
- getCloudsEnabled
- getFarClipDistance
- getFogDistance
- getGameSpeed
- getGravity
- getHeatHaze
- getInteriorSoundsEnabled
- getJetpackMaxHeight
- getMinuteDuration
- getMoonSize
- getOcclusionsEnabled
- getRainLevel
- getSunColor
- getSunSize
- getTime
- getTrafficLightState
- getWeather
- getWindVelocity
- getSkyGradient
- getPlayerBlurLevel
- getZoneName
- isGarageOpen
- removeWorldModel
- resetFarClipDistance
- resetFogDistance
- resetHeatHaze
- resetMoonSize
- resetRainLevel
- resetSkyGradient
- resetSunColor
- resetSunSize
- resetWindVelocity
- restoreAllWorldModels
- restoreWorldModel
- setAircraftMaxHeight
- setAircraftMaxVelocity
- setCloudsEnabled
- setFarClipDistance
- setFogDistance
- setGameSpeed
- setGarageOpen
- setGravity
- setHeatHaze
- setInteriorSoundsEnabled
- setMinuteDuration
- setMoonSize
- setOcclusionsEnabled
- setRainLevel
- setSkyGradient
- setSunColor
- setSunSize
- setTime
- setTrafficLightState
- setTrafficLightsLocked
- setWeather
- setWeatherBlended
- setWindVelocity
- setJetpackMaxHeight
- setPlayerBlurLevel