GetAircraftMaxHeight: Difference between revisions
Jump to navigation
Jump to search
(Documented function) |
m (→See Also) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{ | {{Server client function}} | ||
This function gets the maximum height at which aircraft can fly without their engines turning off. | This function gets the maximum height at which aircraft can fly without their engines turning off. | ||
Line 24: | Line 24: | ||
==See Also== | ==See Also== | ||
{{ | {{World_functions}} |
Latest revision as of 15:49, 11 September 2024
This function gets the maximum height at which aircraft can fly without their engines turning off.
Syntax
float getAircraftMaxHeight ( )
Returns
Returns a float containing the max aircraft height.
Example
Click to collapse [-]
ClientThis example returns the max aircraft height to a player if they use the command 'aircraftmaxheight'.
function commandGetAircraftMaxHeight() local height = getAircraftMaxHeight() or "N/A" outputChatBox("Aircraft max height: "..height, 0, 255, 0) end addCommandHandler("aircraftmaxheight", commandGetAircraftMaxHeight)
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