Vehicle::removeWindow: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
Line 1: Line 1:
windowIndex:<br>0 = Front Right Window<br>1 = Front Left Window<br>2 = Back Right Window<br>3 = Back Left Window
windowIndex:<br>0 = Front Right Window<br>1 = Front Left Window<br>2 = Back Right Window<br>3 = Back Left Window<br>-1 = Front Glass<br>7 = Behind Glass<br> the missing ones might be sun roof glass or other types of glassess, tried in a regular 4 door vehicle
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.removeWindow(windowIndex);</syntaxhighlight>
<syntaxhighlight lang="javascript">vehicle.removeWindow(windowIndex);</syntaxhighlight>

Latest revision as of 14:17, 17 May 2020

windowIndex:
0 = Front Right Window
1 = Front Left Window
2 = Back Right Window
3 = Back Left Window
-1 = Front Glass
7 = Behind Glass
the missing ones might be sun roof glass or other types of glassess, tried in a regular 4 door vehicle

Syntax

vehicle.removeWindow(windowIndex);

Required Arguments

  • windowIndex: int

Return value

  • Undefined

Example

// todo

See also