OnClientVehicleStartExit: Difference between revisions
Jump to navigation
Jump to search
(Introduced the new event parameter: door) |
OpenIDUser32 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Client event}} | {{Client event}} | ||
__NOTOC__ | __NOTOC__ | ||
Line 10: | Line 9: | ||
*'''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| | {{New feature/item|3.0110|1.1|| | ||
*'''door:''' the number of the door that the player is using to leave. | *'''door:''' the number of the door that the player is using to leave. | ||
}} | }} | ||
Line 17: | Line 16: | ||
The source of this event is the vehicle that the player started to exit. | The source of this event is the vehicle that the player started to exit. | ||
==Example== | ==Example== | ||
{{Example}} | |||
==See Also== | ==See Also== |
Revision as of 11:10, 21 November 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
Script Example Missing Event OnClientVehicleStartExit needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
-- TODO
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