OnClientVehicleStartExit: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Introduced the new event parameter: door)
No edit summary
Line 1: Line 1:
[[Category:Incomplete Event]]
{{Client event}}
{{Client event}}
__NOTOC__  
__NOTOC__  
Line 10: Line 9:
*'''thePlayer:''' the player who started exiting the vehicle.
*'''thePlayer:''' the player who started exiting the vehicle.
*'''seat:''' the number of the seat that the player was sitting on.
*'''seat:''' the number of the seat that the player was sitting on.
{{New feature|3.0110|1.1|
{{New feature/item|3.0110|1.1||
*'''door:''' the number of the door that the player is using to leave.
*'''door:''' the number of the door that the player is using to leave.
}}
}}
Line 17: Line 16:
The source of this event is the vehicle that the player started to exit.
The source of this event is the vehicle that the player started to exit.


==Example==  
==Example==
 
{{Example}}
<syntaxhighlight lang="lua">
 
</syntaxhighlight>


==See Also==
==See Also==

Revision as of 11:10, 21 November 2011

This event is triggered when a player starts exiting a vehicle. Once the exiting animation completes, onClientVehicleExit is triggered.

Parameters

player thePlayer, int seat, int door
  • thePlayer: the player who started exiting the vehicle.
  • seat: the number of the seat that the player was sitting on.
  • door: the number of the door that the player is using to leave.

Source

The source of this event is the vehicle that the player started to exit.

Example

Accessories-text-editor.png Script Example Missing Event OnClientVehicleStartExit needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO


See Also

Client vehicle events


Client event functions