This is called when a player has successfully exited a vehicle.
- function onPlayerExitedVehicle( Player player, Vehicle vehicle )
- player - The player who exited a vehicle
- vehicle - The vehicle player exited
This event does not handle return values.
This example will message player the name of the vehicle they just exited.
- function onPlayerExitedVehicle( player, vehicle )
- MessagePlayer( "You exited a " + vehicle.tostring(), player );
- return 1;
The function MessagePlayer was used in this example. More info about it can be found in the corresponding page.