Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

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

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

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

Conversation

@Skryptific
Copy link
Collaborator

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants