qbcore-framework / qb-weapons

Weapon Logic Script For QB-Core :gun:
GNU General Public License v3.0
28 stars 194 forks source link

fix(client/shooting): Check if weapon exists first #63

Closed BerkieBb closed 2 years ago

BerkieBb commented 2 years ago

This makes sure to check whether the weapon exists in the shared or not as this is a very high speed loop this will sometimes return nothing when you switch weapons or holster it