Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from
Closed

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

wants to merge 1 commit into from

Conversation

Randolio
Copy link

#] 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]

#] 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
Copy link
Author

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

@Randolio Randolio closed this Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant