Vehicle::getOccupant: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "{{Incomplete Functions}}")
 
No edit summary
 
Line 1: Line 1:
{{Incomplete Functions}}
__TOC__
{{ServersideJsFunction}}
This function returns the player sitting in the vehicle's seat.
{{JSContainer|
==Syntax==
<syntaxhighlight lang="javascript">vehicle.getOccupant(seatIndex);</syntaxhighlight>
=== Required Arguments ===
*'''seatIndex:''' int
===Return value===
*'''Object''': Player
==Example==
<syntaxhighlight lang="javascript">
//To do
</syntaxhighlight>
}}
==See also==
{{Vehicle_definition}}
[[Category:TODO: Example]]

Latest revision as of 16:19, 25 April 2022