HasVehicleMod

From GT-MP
Jump to: navigation, search
HasVehicleMod
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript


Checks if the specified vehicle has any mods available of the given mod type.

Syntax

API.hasVehicleMod(LocalHandle vehicle, int modType);

Required Arguments

  • vehicle: parameter input should be in LocalHandle type.
  • modType: parameter input should be in int type.

NOTE: This function returns data in bool type.

Usage example(s)

API.hasVehicleMod(LocalHandle vehicle, int modType);

References