GetVehicleMaxAcceleration

From RAGE Multiplayer Wiki

Returns the vehicle's max acceleration.


C# Syntax

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

float maxAcceleration = NAPI.Vehicle.GetVehicleMaxAcceleration(model);