Skip to main content

Vehicle::getModTextLabel

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&gt;::getNumMods to get the maximum number of mods (Usually 0 - numMods).

Syntax​

```js vehicle.getModTextLabel(modType, modIndex); ```

Required Arguments​

  • modType: int
  • modIndex: int

Return value​

  • String

Example​

```js // todo ```

See also​