you need to "toggle" ShowGameMenu if I understand your intentions.
This means whenever the appropriate key is pressed, change its state from true to false or vice-versa (if the input is event based). If you poll the input state, then the problem becomes a bit more complex, since you have to store the state of the key separately.
void redNovember::inputHandle()
{
if(receiver.IsKeyDown(irr::KEY_ESCAPE))
showGameMenu = !showGameMenu; //invert current value, this should let you toggle between true and false by pressing esc.
szecs hit the nail on the head. If you are actively polling, you'll need to store state between calls - unless the library you are using (Irrlicht?) provides such functionality. Some light Googling suggests that implementing the IEventReceiver interface might support this use.
i don't really understand the IEventReciever stuff. but all i want to do is that when escape is pressed it will open the gui and it wont close it until escape is pressed again.