This is soder his script, but it doesn't write all names on screen. Can anyone upgrade this script?
Thanks a lot.

PHP Code:
local RECEIVER "soder"

local PLAYERS = {}
if (
paround() > 0then
    
for CREATURE in Creature.GetAll("ps"false) do
        if (
CREATURE:isValid() and CREATURE:isPlayer()) then
            table
.insert(PLAYERS,CREATURE:Name())
        
end
    end
    
    say
("*" .. RECEIVER .. "* " .. #PLAYERS .. " players on screen: " .. unpack(PLAYERS))
end