local _, ped = sampGetCharHandleBySampPlayerId(id)
if not sampIsPlayerConnected(id) then return msg('Игрока нет на сервере!') end
if not _ then return msg('Игрока нет в зоне стрима') end
local localx, localy, localz = getCharCoordinates(ped)
local ppx, ppy, ppz = getCharCoordinates(PLAYER_PED)
if getDistanceBetweenCoords3d(localx, localy, localz, ppx, ppy, ppz) > distance_veh.v then
return msg("Жертва {FF0000}"..sampGetPlayerNickname(id).."["..id.."]{ffffff} далеко!")
end