ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setAircraftMaxHeight

Function

setAircraftMaxHeight

ServerMiscellaneousIdentical to MTA:SA

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)

See also