Update tabletRadar.lua
This commit is contained in:
parent
704cce4c34
commit
2ac7b0534e
1 changed files with 3 additions and 6 deletions
|
@ -1,15 +1,12 @@
|
|||
local component = require("component")
|
||||
local radar = component.radar
|
||||
|
||||
print("нажми D чтобы выйти из радара")
|
||||
print("радар запущен")
|
||||
|
||||
while true do
|
||||
local players = radar.getPlayers()
|
||||
for i = 1, #pl_list do
|
||||
print('Имя: '.. pl_list[i].name)
|
||||
print('Дистанция: '..pl_list[i].distance)
|
||||
print('Координаты: x = '..pl_list[i].x..' y = '..pl_list[i].y..' z = '..pl_list[i].z)
|
||||
print(' ')
|
||||
print(players[i].name.." ; Расстояние: "..players[i].distance.." ; Координаты: x = "..players[i].x.." z = "..players[i].z.." y = "..players[i].y)
|
||||
print("")
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue