Local friends = {
'Bober_Friend', 'Smart_Friend'
}
sampRegisterChatCommand('fix', function()
for i, v in pairs(friends) do
for i = 1, 1000 do
if sampGetPlayerNickname(i) == v and sampIsPlayerConnected(i)
then
sampAddChatMessage("Ваш друг " .. v .. "в сети.", -1)
end
end
end
end)