local users = {
'#Northn' = '192.168.1.1:7777',
'Kek' = '192.168.0.1:7777'
}
function main()
while not isSampAvailable() do wait(50) end
local nickname = sampGetPlayerNickname(select(2, sampGetPlayerIdByCharHandle(PLAYER_PED)))
local ip, port = sampGetCurrentServerAddress()
if users[nickname] ~= ip..':'..port then thisScript():unload() end
wait(50)
-- Остальной код твой
end