GetVehicleNumModCount

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


Returns the amount of possible modifications for a specific modification type of a specific vehicle.

Syntax

API.getVehicleNumModCount(LocalHandle vehicle, int modType);

Required Arguments

  • vehicle: parameter input should be in LocalHandle type.
  • modType: parameter input should be in int type. See Vehicle Mods for a list of mod types.

NOTE: This function returns data in int type.

Usage example(s)

API.getVehicleNumModCount(LocalHandle vehicle, int modType);

References