OnPedExitVehicle: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = onPedExitVehicle | ||
|side = shared | |||
|type = event | |type = event | ||
| | |games = iii vc sa | ||
| | |desc = a ped exits a vehicle.<br>The event is invoked when the ped starts to leave the vehicle. If the vehicle exit is blocked, the event is not triggered until the ped actually leaves the vehicle. | ||
|arg1 = Ped ped The ped that has exited a vehicle. | |||
| | |arg2 = Vehicle vehicle The vehicle that the ped has exited. | ||
|cancel = false | |||
| | |||
}} | }} |
Latest revision as of 04:29, 26 February 2024
Event
Server and Client
Online and Offline
Not Cancellable
onPedExitVehicle(Event event, Ped ped, Vehicle vehicle)
The event is invoked when the ped starts to leave the vehicle. If the vehicle exit is blocked, the event is not triggered until the ped actually leaves the vehicle.
Parameters
1) | Event | event | The event object for this event. |
2) | Ped | ped | The ped that has exited a vehicle. |
3) | Vehicle | vehicle | The vehicle that the ped has exited. |
Attributes
const | This event cannot be cancelled. |
Notes
There aren't any notes for this event.
Examples
There aren't any examples for this event.
Compatibility
There isn't any compatibility information for this event.
Related
Server Related
OnPedCrouch
OnPedEnterVehicle
OnPedExitVehicle
OnPedFall
OnPedJump
OnPedSpawn
OnPedUncrouch
OnPedWasted
Client Related
OnPedBusted
OnPedChangeWeapon
OnPedCrouch
OnPedDead
OnPedEnteredVehicle
OnPedEnteringVehicle
OnPedEnterVehicle
OnPedExitedVehicle
OnPedExitingVehicle
OnPedExitVehicle
OnPedFall
OnPedFireProjectile
OnPedInflictDamage
OnPedJump
OnPedSpawn
OnPedStartClosingVehicleDoor
OnPedStartFightAttack
OnPedStartFightDefend
OnPedStartOpeningVehicleDoor
OnPedUncrouch
OnPedUseWeapon
OnPedWasted