Qbox-project / qbx_smallresources

GNU General Public License v3.0
7 stars 37 forks source link

fix(qbx_vehiclepush/client): Check vehicle class #106

Closed SamShanks1 closed 1 month ago

SamShanks1 commented 1 month ago

Description

The "or" operator will return true if any of the conditions are true, if vehicleClass = 14 (boat) it will still return isValidVehicle because it does not equal 13. Using the "and" operator we can check it doesn't match any of these.

Checklist