Vehicle::getNumMods

From RAGE Multiplayer Wiki

Returns how many possible mods a vehicle has for a given mod type.

Syntax

vehicle.getNumMods(modType);

Required Arguments

  • modType: int

Return value

  • int

Example

Client-Side
mp.players.local.vehicle.getNumMods(48); // get the number of vinyls for the car in which the player sits

See also