esx:exitedVehicle
Available from this version: 1.9.1
This event is triggered when the player entered the vehicle
Arguments
Argument | Type | Explanation |
---|---|---|
vehicle | number | |
plate | string | |
seat | number | |
displayName | string | |
netID | number |
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)