OnClientPedVehicleEnter

From Multi Theft Auto: Wiki
Revision as of 18:36, 29 November 2020 by Zangomangu (talk | contribs) (Created page with "{{Client event}} __NOTOC__ {{New feature/item|3.0160|1.5.8|20740|This event is fired when a ped has entered a vehicle.}} ==Parameters== <syntaxhighlight lang="lua"> v...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This event is fired when a ped has entered a vehicle.

Parameters

vehicle theVehicle, int seat
  • theVehicle: the vehicle that the ped entered
  • seat: the seat that the ped now is on. Driver's seat = 0, higher numbers are passenger seats.

Source

The source of this event is the ped that entered the vehicle.

Example

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

Before submitting check out Editing Guidelines Script Examples.


See Also

Client ped events


Client ped functions