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

Function

getVehicleRotorSpeed

ServerVehiclesIdentical to MTA:SA

Returns the rotor speed stored with setVehicleRotorSpeed (0 by default).

Syntax

float getVehicleRotorSpeed(vehicle vehicle)

Arguments

vehiclevehicle
A helicopter or plane.

Returns

The stored speed.

Example

local heli = createVehicle(487, 1765, -2290, 14)
outputDebugString(getVehicleRotorSpeed(heli))

See also