I've just realised something else I could try:
Code: ags
However, the GUI won't close when "n" is pressed. The GUI pauses game when shown. Any help?
if ((NotebookOpen) &&
(IsKeyPressed(eKeyN)))
{
gNotebook.Visible=false;
NotebookOpen=false;
}
if ((!NotebookOpen) &&
(IsKeyPressed(eKeyN)))
{
gNotebook.Visible=true;
NotebookOpen=true;
}
However, the GUI won't close when "n" is pressed. The GUI pauses game when shown. Any help?