GetVehicleClass

From GTA Network Wiki
Jump to: navigation, search

GetVehicleClass
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Gets the vehicle class associated with the given vehicle hash. See Vehicle Classes for a list of classes.

Syntax

int NAPI.Vehicle.GetVehicleClass(VehicleHash model);

Required Arguments

  • model: parameter input should be in VehicleHash type.

NOTE: This function returns data in int type.

Usage example(s)

NAPI.Vehicle.GetVehicleClass(VehicleHash.Adder);

Changelog

Version Description
1.0 Release.

References