I tried it and it works, but I get like 200+ fps and its too much for SAMP, is there any way to cap it at 100?
Yes, there is a way. Go to the GTA:SA menu and enable the "Frame Limiter" option. Then go in-game and use the client-side command /fpslimit 100 (or other value to limit FPS).