mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
BREAKING CHANGE (kind of) Remove user-selection for locales. Adds mostly unnecessary complexity, and most people don't want to bother with it anyway. Locale is always based on the convar "ox:locale" instead.
10 lines
175 B
Lua
10 lines
175 B
Lua
---@todo remove module and nui event
|
|
RegisterNUICallback('init', function(_, cb)
|
|
cb(1)
|
|
|
|
SendNUIMessage({
|
|
action = 'loadLocales',
|
|
data = {}
|
|
})
|
|
end)
|