Wenn du das einträgst während du auf dem Server bist wird das immer wieder zurückgesetzt beim Charakter speichern.
Also einmal ändern wenn du nicht auf dem Server bist und dann erst Joinen.... oder befehle wie setgoup gibts bei manchen Servern als Command
ESX.RegisterCommand('setgroup', 'admin', function(xPlayer, args, showError)
if not args.playerId then args.playerId = xPlayer.source end
if args.group == "superadmin" then args.group = "admin" end
args.playerId.setGroup(args.group)
sendToDiscord(Config.DiscordColor, Config.DiscordUser, Config.DiscordTitle, xPlayer.name.. " hat dem Spieler " ..args.playerId.name.. " die gruppe " ..args.group.. " gegeben")
end, true, {help = _U('command_setgroup'), validate = true, arguments = {
{name = 'playerId', help = _U('commandgeneric_playerid'), type = 'player'},
{name = 'group', help = _U('command_setgroup_group'), type = 'string'},
}})
in die Commands.lua in esx_extended