mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
refactor(es_extended/server/main.lua): defaultGroup as local variable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user