OnClientPlayerVehicleEnter: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Client event}} | |||
[[Category:Incomplete Event]] | [[Category:Incomplete Event]] | ||
__NOTOC__ | __NOTOC__ | ||
This event is | This event is fired when a player enters a vehicle. | ||
== | ==Parameters== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
vehicle theVehicle, int seat | |||
</syntaxhighlight> | </syntaxhighlight> | ||
*'''vehicle:''' the vehicle that the player entered | |||
*'''seat:''' the seat that the player now is on. Driver's seat = 0, higher numbers are passenger seats. | |||
==Source== | |||
The source of this event is the player that entered the vehicle. | |||
==Example== | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 16:19, 30 December 2007
This event is fired when a player enters a vehicle.
Parameters
vehicle theVehicle, int seat
- vehicle: the vehicle that the player entered
- seat: the seat that the player now is on. Driver's seat = 0, higher numbers are passenger seats.
Source
The source of this event is the player that entered the vehicle.