Skip to content

Conversation

Z3rio
Copy link
Contributor

@Z3rio Z3rio commented Jan 19, 2025

Describe Pull request
This adds the possibility of using exports in qb-radialmenu, instead of just events.
Also allows the user to customize the arguments the event/export is called with, instead of calling it with the "item" / "option" data

For example:

{
    id = 'cornerselling',
    title = 'Corner Selling',
    icon = 'cannabis',
    type = 'export',
    export= 'qb-drugs.CornerSelling',
    args = { "hello", "world" },
    shouldClose = true
}

Questions (please complete the following information):

  • Have you personally loaded this code into an updated qbcore project and checked all it's functionality?

No

  • Does your code fit the style guidelines?

Yes

  • Does your PR fit the contribution guidelines?

Yes

@QBStevie
Copy link

This can be handy

@Z3rio
Copy link
Contributor Author

Z3rio commented Aug 1, 2025

@GhzGarage
Rerun the lint workflow and merge this if possible, a lot of people would enjoy this.
Thank you

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