To have a gift usually refers to having a talent or ability, and in this context the speaker has a talent for attracting weirdos.
Consider the statement "I seem to always attract these weirdos.". Is the statement "I must have a gift for attracting these weirdos." false? Yes/no/unknown