Перейти к содержанию

Vehicle::getModTextLabel

Материал из RAGE MP Wiki Archive

Returns the text label of a mod type for a given vehicle.

Use _GET_LABEL_TEXT to get the part name in the game's language.

See https://wiki.rage.mp/index.php?title=Vehicle::getNumMods to get the maximum number of mods (Usually 0 - numMods).

Syntax

<syntaxhighlight lang="javascript">vehicle.getModTextLabel(modType, modIndex);</syntaxhighlight>

Required Arguments

  • modType: int
  • modIndex: int

Return value

  • String

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also