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

GetVehicleMaxAcceleration

Материал из RAGE MP Wiki Archive

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>