Vehicle::getNumMods: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
mNo edit summary
Line 1: Line 1:
Returns how many possible mods a vehicle has for a given mod type
Returns how many possible mods a vehicle has for a given mod type.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.getNumMods(modType);</syntaxhighlight>
<syntaxhighlight lang="javascript">vehicle.getNumMods(modType);</syntaxhighlight>

Revision as of 16:48, 26 February 2019

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

// todo

See also