Skip to main content

GetVehicleMaxSpeed

Returns the vehicle's max speed.

C#​

float NAPI.Vehicle.GetVehicleMod(VehicleHash model);

Parameters​

  • model: parameter input should be in VehicleHash type

NOTE: This function returns the speed in float type.

Example​

float maxSpeed = NAPI.Vehicle.GetVehicleMod(VehicleHash model);