get_char_in_vehicle(vehicle_name, seat_index)

Parameters:
vehicle_name (string) name of the vehicle
seat_index (integer) seat index (0 = driver's seat)
 
Returns:
(string) name of the character in the specified seat, or nil if not found (NB: reserved seats return nil as if they were unoccupied)

Description:
Get the name of the character in a specific seat of a vehicle.
 

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