самое простое решение проблемы
while true do wait(100)
for i = 0, 2048-1 do
local text, color, posX, posY, posZ, distance, ignoreWalls, attachedPlayerId, attachedVehicleId = sampGet3dTextInfoById(i)
if distance <= 20.0 and distance > 0.01 --[[fix bug]] then
-- ur...