This commit is contained in:
LordMZTE 2021-11-14 15:59:31 +01:00
parent a55e1d9b46
commit cf7dbe96e6

View file

@ -8,7 +8,8 @@ end
while true do
local text = {}
text[1] = "Players:"
table.insert(text, "Date: " .. os.date())
table.insert(text, "Players:")
for _, p in pairs(pl_detector.getOnlinePlayers()) do
local pos = pl_detector.getPlayerPos(p)
@ -21,7 +22,7 @@ while true do
ar.clear()
for i, l in ipairs(text) do
ar.drawRightboundString(l, 10 * i - 1, 0, 0xffffff)
ar.drawString(l, 0, 10 * (i - 1), 0xffffff)
end
sleep(1)