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

GetVehicleMaxAcceleration

Материал из RAGE MP Wiki Archive
Версия от 16:46, 12 декабря 2019; imported>Avoid (Created page with "Returns the vehicle's max acceleration. {{CSharpContainer| {{#tag:pre|float {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleMaxAcceleration(VehicleHash model);}} {{...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns the vehicle's max acceleration.


float NAPI.Vehicle.GetVehicleMaxAcceleration(VehicleHash model);

Parameters

  • model: parameter input should be in VehicleHash type

NOTE: This function returns the traction in float type.

Example

<syntaxhighlight lang="csharp"> float maxAcceleration = NAPI.Vehicle.GetVehicleMaxAcceleration(model); </syntaxhighlight>