From 2ac7b0534e3bffc3147aa0e5dad76483f22c0ef0 Mon Sep 17 00:00:00 2001 From: erius0 <63460770+erius0@users.noreply.github.com> Date: Fri, 8 Jan 2021 20:54:22 +0300 Subject: [PATCH] Update tabletRadar.lua --- tabletRadar.lua | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tabletRadar.lua b/tabletRadar.lua index 50427e0..5da8581 100644 --- a/tabletRadar.lua +++ b/tabletRadar.lua @@ -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