Skip to main content

GetVehicleMaxAcceleration

Returns the vehicle's max acceleration.

C#​

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);