diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index fe4e0564..5599f16c 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -260,7 +260,7 @@ function ESX.GetExtendedPlayers(key, val) end function ESX.GetNumPlayers(key, val) - if(not key) then + if not key then return #ESX.GetPlayers() end