qbcore-framework / qb-vehiclekeys

Vehicle Keys System For QB-Core :key:
GNU General Public License v3.0
35 stars 224 forks source link

feat(client/main): checkImmune function. #250

Closed Randolio closed 4 months ago

Randolio commented 4 months ago

] Replace all ipairs loops with the checkImmune function, returning a boolean.

] Combine returns inside lockpick event and utilize checkImmune to block lockpicking vehicles specified in Config.ImmuneVehicles.

Randolio commented 4 months ago

Closing to make a new PR with a whole client side refactor.