OnClientVehicleStartEnter
Jump to navigation
Jump to search
This event is triggered when a player starts entering a vehicle. Once the entering animation completes, onClientVehicleEnter is triggered.
Parameters
player thePlayer, int seat
- thePlayer: the player that just started entering a vehicle.
- seat: the number of the seat he is going to sit on.
Source
The source of this event is the vehicle the player is entering.
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