Vehicle::getModTextLabel

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

vehicle.getModTextLabel(modType, modIndex);

Required Arguments

  • modType: int
  • modIndex: int

Return value

  • String

Example

// todo

See also