- Documentation
- Server functions
- setAircraftMaxVelocity
Function
setAircraftMaxVelocity
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)