GetVehicleMaxTraction

From RAGE Multiplayer Wiki
Revision as of 14:17, 12 December 2019 by Avoid (talk | contribs) (Created page with "Returns the vehicle's max traction. {{CSharpContainer| {{#tag:pre|float {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleMaxTraction(VehicleHash model);}} {{Paramete...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns the vehicle's max traction.


C# Syntax

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

float maxTraction = NAPI.Vehicle.GetVehicleMaxTraction(model);