Use key argument for ESX.GetConfig

This commit is contained in:
zykem#0643
2025-07-21 01:29:47 +02:00
parent 3a63fb9771
commit 7417454478
+1 -1
View File
@@ -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