player_is_rc_driver(player_name[, vehicle_name])

Parameters:
player_name (string) name of the player to check (i.e. LOCAL_PLAYER, REMOTE_PLAYER)
vehicle_name (string, optional) name of the vehicle to check (if none provided, will check if the player is the RC driver of *any* vehicle)
 
Returns:
(bool) true if the player is the/an RC driver, false otherwise

Description:
Find out if a player is the RC driver of a vehicle
 

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