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

GetVehicleClass

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

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>