12 lines
376 B
Lua
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
|