IsVehicleACar

From GT-MP
Jump to: navigation, search
IsVehicleACar
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#

Checks if the specified vehicle model is a Car.


Syntax

In C#
Server-Side Function

API.isVehicleACar(VehicleHash model);

Required Arguments

  • model: parameter input should be in VehicleHash type.


Dialog-warning.png

Note: This function returns data in bool type, true if model is a Car, false otherwise.

Usage example(s)

API.isVehicleACar(VehicleHash model);

Changelog

Version Description
1.638.634 Release.

References