Firing Problems

I have made the beggings of a game and have got my character to run, jump and shoot but when he does shoot his bullet only travels to the right even if he is facing left. Also I need to know how to limit the amount of bullets he can fire per second. I have the source code below for both MX 2004 and MX.

(P.S. feel free to change anything you think I did poorly.)