player_force_vehicle_seat(player_name, seat_index[, vehicle_name])

Parameters:
player_name (string) name of the player
seat_index (integer) index of the seat, or -1 to not force a specific seat
vehicle_name (string, optional) name of the vehicle, or nil to force the seat on all vehicles (defaults to nil)
 
Returns:
none

Description:
Force the player to use a specific seat when entering a vehicle.

NOTE: It's very important to clean up this function after using it in a mission by calling it with -1 as the seat override for any and all players overridden.

 

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