on_vehicle_exit(func_name, name)

Parameters:
func_name (string) name of the function, or "" to unregister the event
name (string) name of the vehicle (or name of a player/NPC, to trigger whenever they exit any vehicle)
 
Returns:
none

Description:
Register a callback function for when the human enters a vehicle.

When the callback is executed, the following parameters are passed to it:
 - (string) name of the player/NPC
 - (string) name of the vehicle
 - (integer) index of the seat that was exited

 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:16