OnClientVehicleStartEnter: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Incomplete Event]] | [[Category:Incomplete Event]] | ||
{{Client event}} | |||
__NOTOC__ | |||
This event is triggered when a player starts entering a vehicle. Once the entering animation completes, [[onClientVehicleEnter]] is triggered. | |||
==Parameters== | |||
<syntaxhighlight lang="lua"> | |||
player thePlayer, int seat | |||
</syntaxhighlight> | |||
*'''thePlayer:''' the player that just started entering a vehicle. | |||
*'''seat:''' the number of the seat he is going to sit on. | |||
== | ==Source== | ||
The source of this event is the vehicle the player is entering. | |||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 16:28, 30 December 2007
This event is triggered when a player starts entering a vehicle. Once the entering animation completes, onClientVehicleEnter is triggered.
Parameters
player thePlayer, int seat
- thePlayer: the player that just started entering a vehicle.
- seat: the number of the seat he is going to sit on.
Source
The source of this event is the vehicle the player is entering.