diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index ed8e77668..91b25bc71 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -397,7 +397,7 @@ AddEventHandler('playerDropped', function(reason) end end) -AddEventHandler("esx:playerLoaded", function() +AddEventHandler("esx:playerLoaded", function(_, xPlayer) local job = xPlayer.getJob().name local jobKey = ("%s:count"):format(job)