Hmm kinda strange.
Try clearing your system cache and type them correctly.
I miss GTA SAN ANDREAS.
It might be a controller issue. I had a PS2 with a controller with the pad instead of the four direction buttons, and you had to be really careful pushing them otherwise it would read it as slanted and not the way you meant to.
Just a guess that it's why they don't work.