Skip to main content

esx:exitedVehicle

Available from this version: 1.9.1

This event is triggered when the player entered the vehicle

Arguments

ArgumentTypeExplanation
vehiclenumber
platestring
seatnumber
displayNamestring
netIDnumber

Example Client-Side Usage

AddEventHandler('esx:exitedVehicle', function(vehicle, plate, seat, displayName, netId)
print('esx:exitedVehicle', 'vehicle', vehicle, 'plate', plate, 'seat', seat, 'displayName', displayName, 'netId', netId)
end)

Example Server-Side Usage

RegisterNetEvent('esx:exitedVehicle', function(plate, seat, displayName, netId)
print('esx:exitedVehicle', 'source', source, 'plate', plate, 'seat', seat, 'displayName', displayName, 'netId', netId)
end)