Vehicle::setWindowTint: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
enum WindowTints<br>{<br> WINDOWTINT_NONE,<br> WINDOWTINT_PURE_BLACK,<br> WINDOWTINT_DARKSMOKE,<br> WINDOWTINT_LIGHTSMOKE,<br> WINDOWTINT_STOCK,<br> WINDOWTINT_LIMO,<br> WINDOWTINT_GREEN<br>};
__TOC__
 
 
<b>Window Tints</b>:
 
*WINDOWTINT_NONE(0)
*WINDOWTINT_PURE_BLACK(1)
*WINDOWTINT_DARKSMOKE(2)
*WINDOWTINT_LIGHTSMOKE(3)
*WINDOWTINT_LIMO(4?)
*WINDOWTINT_STOCK(4?)
*WINDOWTINT_GREEN(5)
0 and 4 are different but only have a VERY slight change, barely noticable.
 
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.setWindowTint(tint);</syntaxhighlight>
<syntaxhighlight lang="javascript">vehicle.setWindowTint(tint);</syntaxhighlight>

Latest revision as of 11:32, 12 April 2018


Window Tints:

  • WINDOWTINT_NONE(0)
  • WINDOWTINT_PURE_BLACK(1)
  • WINDOWTINT_DARKSMOKE(2)
  • WINDOWTINT_LIGHTSMOKE(3)
  • WINDOWTINT_LIMO(4?)
  • WINDOWTINT_STOCK(4?)
  • WINDOWTINT_GREEN(5)

0 and 4 are different but only have a VERY slight change, barely noticable.

Syntax

vehicle.setWindowTint(tint);

Required Arguments

  • tint: int

Return value

  • Undefined

Example

// todo

See also