🛠️Installation
Welcome to our installation guide! In this section, we'll walk you through the steps to effortlessly set up the Script S-NotifyV2!
S-NotifyV2 System Installation
function ESX.GetExtendedPlayers(key, val)
local xPlayers = {}
for k, v in pairs(ESX.Players) do
if key then
if (key == 'job' and v.job.name == val) or v[key] == val then
xPlayers[#xPlayers + 1] = v
end
else
xPlayers[#xPlayers + 1] = v
end
end
return xPlayers
endLast updated