OnPlayerStartExitVehicle
From Onset Developer Wiki
Description
Called when a player presses the key to start exiting a vehicle. You can return false in this event to stop the player from exiting.
Syntax
OnPlayerStartExitVehicle(vehicle)
- vehicle
The vehicle identifier.
Example
__EDIT_ME__
See also
Game
- OnGameTick
- OnGameLanguageChange
- OnSteamOverlayActivated
- OnResolutionChange
- OnRenderHUD
- OnShowMainMenu
- OnHideMainMenu
- OnWhitelistAccepted
Vehicle
- OnVehicleStreamIn
- OnVehicleStreamOut
- OnPlayerStartEnterVehicle
- OnPlayerStartExitVehicle
- OnPlayerEnterVehicle
- OnPlayerLeaveVehicle
- OnPlayerToggleVehicleLight
- OnPlayerToggleVehicleNitro
- OnPlayerToggleVehicleHorn
- OnVehicleBackfire
Player
- OnPlayWeaponHitEffects
- OnPlayerStreamIn
- OnPlayerStreamOut
- OnPlayerSwitchCamera
- OnPlayerEnterWater
- OnPlayerLeaveWater
- OnPlayerDeath
- OnPlayerChatCommand
- OnPlayerChat
- OnPlayerSpawn
- OnPlayerCrouch
- OnPlayerEndCrouch
- OnPlayerEndFall
- OnPlayerFall
- OnPlayerTalking
- OnPlayerToggleAim
- OnPlayerFootstep
Weapon
Parachuting
- OnPlayerParachuteLand
- OnPlayerSkydiveCrash
- OnPlayerCancelSkydive
- OnPlayerSkydive
- OnPlayerParachuteOpen
- OnPlayerParachuteClose
Key
NPC
Object
- OnObjectStreamIn
- OnObjectStreamOut
- OnObjectHit
- OnPlayerEndEditObject
- OnPlayerBeginEditObject
- OnObjectModelChange
Package
Pickup
Text
Vehicle
- OnVehicleStreamIn
- OnVehicleStreamOut
- OnPlayerStartEnterVehicle
- OnPlayerStartExitVehicle
- OnPlayerEnterVehicle
- OnPlayerLeaveVehicle
- OnPlayerToggleVehicleLight
- OnPlayerToggleVehicleNitro
- OnPlayerToggleVehicleHorn
- OnVehicleBackfire