GetBirdsEnabled
From Multi Theft Auto: Wiki
This function will tell you if the birds are enabled or disabled.
Syntax
Returns
Returns true if the birds are enabled or false if the birds are disabled.
Example
This example outputs the Birds state.
Click to collapse [-]
Clientfunction areBirdsEnabled() outputChatBox("The birds are currently ".. (getBirdsEnabled() and "Enabled" or "Disabled") ..".") -- Output the Birds state. end addCommandHandler("birds",areBirdsEnabled) -- Add the command handler attached to the function "areBirdsEnabled".
Requirements
| Minimum supported server | 1.3 |
|---|---|
| Minimum supported client | 1.3 |
See Also
- areTrafficLightsLocked
- getAircraftMaxHeight
- getCloudsEnabled
- getGameSpeed
- getGravity
- getGroundPosition
- getHeatHaze
- getJetpackMaxHeight
- getScreenFromWorldPosition
- getTime
- getTrafficLightState
- getWeather
- getWindVelocity
- getWorldFromScreenPosition
- getZoneName
- isLineOfSightClear
- processLineOfSight
- resetHeatHaze
- resetSkyGradient
- resetWindVelocity
- setAircraftMaxHeight
- setCloudsEnabled
- setGameSpeed
- setGravity
- setHeatHaze
- setSkyGradient
- setTime
- setTrafficLightState
- setTrafficLightsLocked
- setWeather
- setWeatherBlended
- setWindVelocity
- testLineAgainstWater
- getGarageBoundingBox
- getGaragePosition
- getGarageSize
- getMinuteDuration
- getPlayerBlurLevel
- isGarageOpen
- isWorldSpecialPropertyEnabled
- setCloudsEnabled
- setGarageOpen
- setJetpackMaxHeight
- setMinuteDuration
- setPlayerBlurLevel
- setWorldSpecialPropertyEnabled
- setAmbientSoundEnabled
- isAmbientSoundEnabled
- resetAmbientSounds
- setWorldSoundEnabled
- isWorldSoundEnabled
- resetWorldSounds
- setInteriorSoundsEnabled
- getInteriorSoundsEnabled
- setRainLevel
- getRainLevel
- resetRainLevel
- setSunSize
- getSunSize
- resetSunSize
- setSunColor
- getSunColor
- resetSunColor
- setFarClipDistance
- getFarClipDistance
- resetFarClipDistance
- setFogDistance
- getFogDistance
- resetFogDistance
- createSWATRope
- removeWorldModel
- restoreWorldModel
- restoreAllWorldModels
- setOcclusionsEnabled
- getOcclusionsEnabled
- setBirdsEnabled
- getBirdsEnabled
FROM VERSION 1.3.1 r5000 ONWARDS
FROM VERSION 1.3.1 r5063 ONWARDS