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:\: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