getPlayerTotal


--Get the total number of players in the current archive
local result,num=World:getPlayerTotal(-1)
Chat:sendSystemMsg("The total number of players in the current archive is:"..num)
--Get the number of players who died in the current archive
result,num=World:getPlayerTotal(0)
Chat:sendSystemMsg("The number of players who died in the current archive is:"..num)
--Get the number of players who are alive in the current archive
result,num=World:getPlayerTotal(1)
Chat:sendSystemMsg("The number of players who are alive in the current archive is:"..num)