Ich möchte, dass mein Game mittels SPACE-Taste auf Pause gestellt werden kann.
Das funktioniert auch einwandfrei. Sobald ich aber wieder zurück zum Spiel möchte (auch per SPACE) geht nix mehr.
Kann mir jemand helfen?
Code: Alles auswählen
 if (keycode==32){// SPACEBAR
      if (IsGamePaused()==0){
         GUIOn(PAUSED);
         DisableInterface();
      }
      else{
         GUIOff(PAUSED);
         EnableInterface();
      }


