OnPedVehicleEnter

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

This event is triggered when a ped enters a vehicle.

Parameters

vehicle theVehicle, int seat, ped jacked
  • theVehicle: a vehicle element representing the vehicle that was entered.
  • seat: an int representing the seat in which the ped is entering.
  • jacked: a player or ped element representing who has been jacked.

Source

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

Example

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

Before submitting check out Editing Guidelines Script Examples.


See Also

Ped events


Event functions