From 4a731d5ede87001e4caee5d7dd16d24fe2f648cf Mon Sep 17 00:00:00 2001 From: erius0 <63460770+erius0@users.noreply.github.com> Date: Fri, 8 Jan 2021 20:13:28 +0300 Subject: [PATCH] Create tabletRadar --- tabletRadar | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tabletRadar diff --git a/tabletRadar b/tabletRadar new file mode 100644 index 0000000..50427e0 --- /dev/null +++ b/tabletRadar @@ -0,0 +1,15 @@ +local component = require("component") +local radar = component.radar + +print("нажми D чтобы выйти из радара") + +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(' ') + end + +end