Vehicle::getExtraColours: Difference between revisions

From RAGE Multiplayer Wiki
mNo edit summary
 
Line 13: Line 13:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Vehicle_function_c}}
{{Vehicle_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 11:37, 9 May 2024

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