From 5f3e37a7c9766e5065059bae4eab585622f7b7d9 Mon Sep 17 00:00:00 2001 From: Ilias Rbayti <128304168+5d-scripts@users.noreply.github.com> Date: Sat, 2 Sep 2023 12:10:30 +0200 Subject: [PATCH] requested changes #2 --- [core]/es_extended/server/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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