Vehicle::getNumModColors: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.getNumModColors(p0, p1);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.vehicle.getNumModColors(paintType, p1);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p0:''' int
*'''paintType:''' int
*'''p1:''' Boolean
*'''p1:''' Boolean
===Return value===
===Return value===
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Vehicle_function_c}}
{{Vehicle_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 15:16, 26 February 2021

Syntax

mp.game.vehicle.getNumModColors(paintType, p1);

Required Arguments

  • paintType: int
  • p1: Boolean

Return value

  • int

Example

// todo

See also