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

Vehicle::getExtraColours

Материал из RAGE MP Wiki Archive
Версия от 11:37, 9 мая 2024; imported>Shr0x (See also)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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