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

Function

setAircraftMaxVelocity

ServerMiscellaneousIdentical to MTA:SA

Sets the maximum plane speed (0-100, 1.5 by default). The value is stored for compatibility with existing scripts (getAircraftMaxVelocity) but does not change the in-game limit yet.

Syntax

bool setAircraftMaxVelocity(float velocity)

Arguments

velocityfloat
The speed.

Returns

true on success.

Example

setAircraftMaxVelocity(3)

See also