mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-23 03:18:36 +00:00
feat(web): primary colour and shade convars
This commit is contained in:
1 parent
abd63ba2e4
commit
c9ac415f12
4 files changed
+49
-4
No files matched your search
@@ -10,3 +10,10 @@ function RegisterCommand(commandName, callback, restricted)
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
RegisterNUICallback('getConfig', function(_, cb)
|
||||
cb({
|
||||
primaryColor = GetConvar('ox:primaryColor', 'blue'),
|
||||
primaryShade = GetConvarInt('ox:primaryShade', 8)
|
||||
})
|
||||
end)
|
||||
Reference in new issue
Block a user