mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
Use key argument for ESX.GetConfig
This commit is contained in:
@@ -4,7 +4,7 @@ Server._index = Server
|
||||
Server.oneSync = GetConvar("onesync", "off")
|
||||
Server.slots = Config.Slots or 4
|
||||
Server.prefix = Config.Prefix or "char"
|
||||
Server.identifierType = ESX.GetConfig().Identifier or GetConvar("sv_lan", "") == "true" and "ip" or "license"
|
||||
Server.identifierType = ESX.GetConfig("Identifier") or GetConvar("sv_lan", "") == "true" and "ip" or "license"
|
||||
|
||||
AddEventHandler("playerConnecting", function(_, _, deferrals)
|
||||
local source = source
|
||||
|
||||
Reference in New Issue
Block a user