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