- Documentation
- Server functions
- setAircraftMaxHeight
Function
setAircraftMaxHeight
Sets the maximum flight height of planes and helicopters (0-10000). The value is stored for compatibility with existing scripts (getAircraftMaxHeight) but does not change the in-game limit yet.
Syntax
bool setAircraftMaxHeight(float height)Arguments
heightfloat- The height.
Returns
true on success.
Example
setAircraftMaxHeight(2000)