Skip to content

feat(server/player): GetLicense and GetLicenses exports#222

Merged
thelindat merged 2 commits into
overextended:mainfrom
Skryptific:feat/license-exports
Jan 21, 2025
Merged

feat(server/player): GetLicense and GetLicenses exports#222
thelindat merged 2 commits into
overextended:mainfrom
Skryptific:feat/license-exports

Conversation

@Skryptific

Copy link
Copy Markdown
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.

2 participants