diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index 501ff357..5ba47867 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -633,7 +633,7 @@ function Core.IsPlayerAdmin(playerSrc) return false end - if IsPlayerAceAllowed(tostring(playerSrc), "command") or GetConvar("sv_lan", "") == "true" then + if IsPlayerAceAllowed(playerSrc --[[@as string]], "command") or GetConvar("sv_lan", "") == "true" then return true end