/// <summary> /// Detach all vehicles that are towed by this vehicle /// </summary> public bool DetachAnyTowedVehicle() { return(MtaShared.DetachTrailerFromVehicle(element, null)); }
/// <summary> /// Detach a towed vehicle if any /// </summary> public bool DetachTowedVehicle(SharedVehicle attachedVehicle) { return(MtaShared.DetachTrailerFromVehicle(element, attachedVehicle.MTAElement)); }