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

GetVehicleMaxTraction

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

Returns the vehicle's max traction.


float NAPI.Vehicle.GetVehicleMaxTraction(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 maxTraction = NAPI.Vehicle.GetVehicleMaxTraction(model); </syntaxhighlight>