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

Vehicle::getModTextLabel

Материал из RAGE MP Wiki Archive
Версия от 16:49, 26 февраля 2019; imported>Kar
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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