LuaScripts/tabletRadar.lua
2021-01-08 20:54:59 +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.." z = "..players[i].z.." y = "..players[i].y)
print("")
end
end