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

GetVehicleMaxSpeed

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

Returns the vehicle's max speed.


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

<syntaxhighlight lang="csharp"> float maxSpeed = NAPI.Vehicle.GetVehicleMod(VehicleHash model); </syntaxhighlight>