local HRLib = exports.HRLib:getLibFunctions()
HRLib.RegCommand('allPlayersIds', true, true, function(args, rawCommand, IPlayer)
if IPlayer.source == 0 then
local IPlayers = HRLib.AllIPlayers()
for k,v in pairs(IPlayers) do
if k == 'source' then
print(v) -- printing the number of the players
end
end
end, false)