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

➕ Add "getAllGarages" export and function #296

Merged
merged 1 commit into from
Jul 22, 2023

Conversation

Jordan2139
Copy link
Contributor

Describe Pull request
This PR is fairly simple and simply aims to add in the export getAllGarages. I personally would like the ability to get all QB-Core garages and their data so I can use it in another resource.

Questions (please complete the following information):

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

@Sharkiiie
Copy link
Contributor

I don't see this being something the majority of people would use.
What was the use case here?

@Jordan2139
Copy link
Contributor Author

Its use case is in a QB-Core management panel, this is used to get all the garages to then be able to give people vehicles and choose what garage it goes to

@GhzGarage GhzGarage merged commit 1bd4caa into qbcore-framework:main Jul 22, 2023
2 checks passed
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.

3 participants