OnClientVehicleStartEnter

From Multi Theft Auto: Wiki
Revision as of 11:15, 21 November 2011 by OpenIDUser32 (talk | contribs)

Jump to: navigation, search

This event is triggered when a player starts entering a vehicle. Once the entering animation completes, onClientVehicleEnter is triggered.

Parameters

player thePlayer, int seat, int door
  • thePlayer: the player that just started entering a vehicle.
  • seat: the number of the seat he is going to sit on.
  • door: An integer of which door the player used (0-3). 0 is driver side door, 1 is front passenger, 2 is back left, 3 is back right.

Source

The source of this event is the vehicle the player is entering.

Example

Accessories-text-editor.png Script Example Missing Event OnClientVehicleStartEnter 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