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

GetVehicleClass

Материал из RAGE MP Wiki Archive
Версия от 17:35, 12 декабря 2019; imported>Avoid (Created page with "Returns the vehicle's class. {{CSharpContainer| {{#tag:pre|int {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleClass(VehicleHash model);}} {{Parameters}} *'''model:...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns the vehicle's class.


int NAPI.Vehicle.GetVehicleClass(VehicleHash model);

Parameters

  • model: parameter input should be in VehicleHash type

NOTE: This function returns the class in int type.

Example

<syntaxhighlight lang="csharp"> int vehicleClass = NAPI.Vehicle.GetVehicleClass(vehicle); </syntaxhighlight>