issues
search
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.
Have you personally loaded this code into an updated qbcore project and checked all it's functionality? [yes]
Does your code fit the style guidelines? [yes]
Does your PR fit the contribution guidelines? [yes]
Randolio
commented
4 months ago
Closing to make a new PR with a whole client side refactor.
] 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.