Skip to main content

GetVehicleClassName

Returns the vehicle's class name.

  • classId: parameter input should be in int type

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

{{#tag:syntaxhighlight| string classId = Vehicle.GetVehicleClassName(classId); |lang=csharp}} }}