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(es_extended/client/callback): implement ESX.AwaitServerCallback #1481

Merged
merged 4 commits into from
Nov 17, 2024

Conversation

Mycroft-Studios
Copy link
Member

example usage:

RegisterCommand("callback", function ()
    local value, value2 = ESX.AwaitServerCallback("es_extended:callbackTest")
    print(value, value2)
end, false)

example usage:
```lua
RegisterCommand("callback", function ()
    local value, value2 = ESX.AwaitServerCallback("es_extended:callbackTest")
    print(value, value2)
end, false)
```
@Mycroft-Studios Mycroft-Studios self-assigned this Nov 17, 2024
@Kenshiin13 Kenshiin13 requested review from Arctos2win and removed request for Arctos2win November 17, 2024 21:43
Copy link
Contributor

@Kenshiin13 Kenshiin13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Mycroft-Studios Mycroft-Studios merged commit 4bd84d6 into esx-framework:dev Nov 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for Next Update
Development

Successfully merging this pull request may close these issues.

2 participants