Right click on gta sa.exe go to compatibility and make it win xp service pack 3, go to samp short cut, right click and do the same
If it's already that way then set the compatibility to something else, save then make it windows xp service pack 3 again(both gta and samp.exe).