Skip to main content

GetVehicleClassName

Returns the vehicle's class name.

C#​

string NAPI.Vehicle.GetVehicleClassName(int classId);

Parameters​

  • classId: parameter input should be in int type

NOTE: This function returns the class name in string type.

Example​

string classId = NAPI.Vehicle.GetVehicleClassName(classId);