If your global variables are reseting to 0 when you press "R" you might be having a problem with the engine.
Check the load scripts and make sure the game doesn't have a restart_game in there. If you do that however, you might have other problems with global trigger variables wich you will need to set to 0 when pressing "R". (before the loadGame script is executed)