Пример #1
0
 /// <summary>
 /// This function gets the player sitting/trying to enter this vehicle.
 /// </summary>
 public Player GetOccupant(Seat seat = Seat.FrontLeft)
 {
     return(ElementManager.Instance.GetElement <Player>(MtaShared.GetVehicleOccupant(element, (int)seat)));
 }