Cant Remember Movie…please help

The only thing I can remember is that the ending scene is in the old west. A kid runs in to a saloon and hands a note to the bad guy. The bad guy looks up and the two heroes are sitting at the bar, taking a drink, a person walks past in view of the camera and then the two hero’s are gone making it look like there’s going to be a sequel. Please help if possible thank you.