OnClientPlayerVehicleEnter: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (See Also for client player events)
m (Needs Example)
Line 1: Line 1:
{{Client event}}
{{Client event}}
[[Category:Incomplete Event]]
{{Needs Example}}
__NOTOC__
__NOTOC__
This event is fired when a player enters a vehicle.
This event is fired when a player enters a vehicle.
Line 17: Line 17:


<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
 
--TODO
</syntaxhighlight>
</syntaxhighlight>



Revision as of 00:03, 15 November 2011

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

Before submitting check out Editing Guidelines Script Examples.


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.

Example

--TODO

See Also

Client player events


Client event functions