refactor(es_extended/server/main.lua): defaultGroup as local variable

This commit is contained in:
Csoki
2023-02-07 13:40:26 +01:00
parent 010bf82dfb
commit f0d00f9e84
+1 -2
View File
@@ -71,11 +71,10 @@ function createESXPlayer(identifier, playerId, data)
accounts[account] = money
end
local defaultGroup = "user"
if Core.IsPlayerAdmin(playerId) then
print(('[^2INFO^0] Player ^5%s^0 Has been granted admin permissions via ^5Ace Perms^7.'):format(playerId))
defaultGroup = "admin"
else
defaultGroup = "user"
end
if not Config.Multichar then