character_is_in_vehicle(name[, vehicle])

Parameters:
name (string) name of the character
vehicle (string, optional) name of a particular vehicle to check, or nil to check against all vehicles (defaults to nil)
 
Returns:
(boolean) true if the character is in a vehicle, else false

Description:
Check if a character is in a vehicle.
 

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