Vehicle::getExtraColours: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
mNo edit summary
Line 6: Line 6:
*'''wheelColor:''' int
*'''wheelColor:''' int
===Return value===
===Return value===
*'''void'''
*'''object:''' pearlescentColor, wheelColor
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
// todo
let obj = mp.players.local.vehicle.getExtraColours(1, 1);
mp.gui.chat.push(`${obj.pearlescentColor} ${obj.wheelColor}`);
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==

Revision as of 04:38, 27 February 2019

Syntax

vehicle.getExtraColours(pearlescentColor, wheelColor);

Required Arguments

  • pearlescentColor: int
  • wheelColor: int

Return value

  • object: pearlescentColor, wheelColor

Example

let obj = mp.players.local.vehicle.getExtraColours(1, 1);
mp.gui.chat.push(`${obj.pearlescentColor} ${obj.wheelColor}`);

See also