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(server/player): GetLicense and GetLicenses exports #222

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Skryptific
Copy link
Contributor

Implements a way using the core functions to get license data instead of having to write own queries.

RegisterCommand('test', function(source)
    local player = Ox.GetPlayer(source)
    lib.print.info(Ox.GetLicenses(), Ox.GetLicense('driver'), player.getLicense(), player.getLicense('driver'))
end)

I will pr docs when accepted for merge.

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