fix(core): group data updating

This commit is contained in:
Andyyy7666
2026-03-20 07:30:53 +01:00
parent b837771300
commit b06df2aae6
2 changed files with 30 additions and 16 deletions

View File

@@ -83,3 +83,10 @@ RegisterNetEvent("ND:clothingMenu", function()
tattoos = true
})
end)
RegisterNetEvent("ND:groupsUpdated", function(simplified)
if source == "" then return end
if not simplified then return end
Config.groups = simplified
end)