Added Locale

This commit is contained in:
Nass committed 2025-10-05 23:11:35 -07:00
1 parent 1630a76701
commit 6db88bee29
8 files changed
+58 -41

No files matched your search

+5
View File
@@ -112,9 +112,14 @@ RegisterNUICallback('get_config', function(data, cb)
end)
RegisterNetEvent('nass_pedscaler:openMenu', function()
print("Opening ped scaler menu...")
SetNuiFocus(true, true)
SendNUIMessage({
action = "visible",
data = true,
})
end)
RegisterNUICallback('getLocale', function(data, cb)
cb(Config.locale)
end)