Replace the d3d9.dll in your c://programfiles/rockstargames/gtasanandreas directory
DDL To replace :
http://themavesite.com/downloads/SA-MP/Custom%20Screen%20Size%20DDL/d3d9.dll
Original DDL
http://themavesite.com/downloads/SA-MP/Normal%20DDL/d3d9.dll