For couple of months now sa-mp has been under attack, which has caused some issues. One major issue is that it shows the server is offline, when in reality it's not. So even if it shows the server is offline, just connect and you should be able to join normally.