Does word "hit" have the same meaning in the following two sentences?

Where am I going to get my next hit?

After three misses she finally got a hit.
different meanings