Перейти к содержанию

GetVehicleEnginePowerMultiplier

Материал из RAGE MP Wiki Archive
Версия от 15:09, 23 декабря 2022; imported>Xabi
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns the vehicle's engine power multiplier.


float NAPI.Vehicle.GetVehicleEnginePowerMultiplier(Vehicle vehicle);

Parameters

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the engine power multiplier in float type.

Example

<syntaxhighlight lang="csharp"> float powerMultiplier = NAPI.Vehicle.GetVehicleEnginePowerMultiplier(vehicle); </syntaxhighlight>