Add it to the exception list on your firewall. If that doesn't work, uninstall SAMP and GTA:SA, after that, run a registry cleaner to remove everything, also manually remove all related files. After that, install GTA:SA in a different partition, and then install SAMP in the correct folder, set compatibility mode, and hope to god that it works.