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

Vehicle::getExtraColours

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

Syntax

<syntaxhighlight lang="javascript">vehicle.getExtraColours(pearlescentColor, wheelColor);</syntaxhighlight>

Required Arguments

  • pearlescentColor: int
  • wheelColor: int

Return value

  • object: pearlescentColor, wheelColor

Example

<syntaxhighlight lang="javascript"> let obj = mp.players.local.vehicle.getExtraColours(1, 1); mp.gui.chat.push(`${obj.pearlescentColor} ${obj.wheelColor}`); </syntaxhighlight>

See also