local HRLib = exports.HRLib:getLibFunctions()HRLib.RegCommand('allPlayersIds', true, true, function(args,rawCommand,IPlayer)if IPlayer.source ==0thenlocal IPlayers = HRLib.AllIPlayers()for k,v inpairs(IPlayers) doif k =='source' thenprint(v) -- printing the number of the players endendend, false)