Update tabletRadar.lua

This commit is contained in:
erius0 2021-01-09 00:29:54 +03:00 committed by GitHub
parent a51e237a13
commit 51596de023
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,18 +49,15 @@ while true do
if contains(WHITELIST, entities[i].name) then if contains(WHITELIST, entities[i].name) then
gpu.setForeground(0x00FF00) gpu.setForeground(0x00FF00)
print(entities[i].name.." - "..string.format("%.1f", entities[i].distance).." метров") print(entities[i].name.." - "..string.format("%.1f", entities[i].distance).." метров")
print("")
gpu.setForeground(0xFFFFFF) gpu.setForeground(0xFFFFFF)
end end
elseif mode == "i" then elseif mode == "i" then
gpu.setForeground(0x00BFFF) gpu.setForeground(0x00BFFF)
print(entities[i].label.." - "..string.format("%.1f", entities[i].distance).." метров, количество - "..entities[i].size) print(entities[i].label.." - "..string.format("%.1f", entities[i].distance).." метров, количество - "..entities[i].size)
print("")
gpu.setForeground(0xFFFFFF) gpu.setForeground(0xFFFFFF)
elseif mode == "m" then elseif mode == "m" then
gpu.setForeground(0xFFFF00) gpu.setForeground(0xFFFF00)
print(entities[i].name.." - "..string.format("%.1f", entities[i].distance).." метров") print(entities[i].name.." - "..string.format("%.1f", entities[i].distance).." метров")
print("")
gpu.setForeground(0xFFFFFF) gpu.setForeground(0xFFFFFF)
end end
end end