Files
ox_lib/resource/locale/client.lua
Linden 671be5e7a2 refactor(locale): simplify
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.
2022-10-18 21:17:26 +11:00

10 lines
175 B
Lua

---@todo remove module and nui event
RegisterNUICallback('init', function(_, cb)
cb(1)
SendNUIMessage({
action = 'loadLocales',
data = {}
})
end)