LuaScripts/tabletRadar.lua
2021-01-08 21:00:50 +03:00

12 lines
376 B
Lua

local component = require("component")
local radar = component.radar
print("радар запущен")
while true do
local players = radar.getPlayers()
for i = 1, #players do
print(players[i].name.." ; Расстояние: "..players[i].distance.." ; Координаты: x = "..players[i].x.." y = "..players[i].y.." z = "..players[i].z)
print("")
end
end