VehicleNameToModel

From GTA Network Wiki
Jump to: navigation, search

VehicleNameToModel
Server-Side Function

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

Converts vehicle model name to vehicle hash. This function is not case sensitive.

Syntax

VehicleHash NAPI.Util.VehicleNameToModel(string modelName);

Required Arguments

  • modelName: parameter input should be in string type.

NOTE: This function returns data in VehicleHash type.

Usage example(s)

VehicleHash vehicle = NAPI.Util.VehicleNameToModel("adder");

Changelog

Version Description
1.0 Release.

References