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

GetVehicleMaxSpeed

Материал из RAGE MP Wiki Archive
Версия от 14:19, 12 декабря 2019; imported>Avoid
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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>