OnClientVehicleStartExit: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Introduced the new event parameter: door) |
||
Line 6: | Line 6: | ||
==Parameters== | ==Parameters== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
player thePlayer, int seat | player thePlayer, int seat, int door | ||
</syntaxhighlight> | </syntaxhighlight> | ||
*'''thePlayer:''' the player who started exiting the vehicle. | *'''thePlayer:''' the player who started exiting the vehicle. | ||
*'''seat:''' the number of the seat that the player was sitting on. | *'''seat:''' the number of the seat that the player was sitting on. | ||
{{New feature|3.0110|1.1| | |||
*'''door:''' the number of the door that the player is using to leave. | |||
}} | |||
==Source== | ==Source== |
Revision as of 10:48, 8 June 2011
This event is triggered when a player starts exiting a vehicle. Once the exiting animation completes, onClientVehicleExit is triggered.
Parameters
player thePlayer, int seat, int door
- thePlayer: the player who started exiting the vehicle.
- seat: the number of the seat that the player was sitting on.
- door: the number of the door that the player is using to leave.
Source
The source of this event is the vehicle that the player started to exit.
Example
See Also
Client vehicle events
- onClientTrailerAttach
- onClientTrailerDetach
- onClientVehicleCollision
- onClientVehicleDamage
- onClientVehicleEnter
- onClientVehicleExit
- onClientVehicleExplode
- onClientVehicleNitroStateChange
- onClientVehicleRespawn
- onClientVehicleStartEnter
- onClientVehicleStartExit
- onClientVehicleWeaponHit
Client event functions
- triggerLatentServerEvent
- triggerServerEvent
- Shared
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled