Code:
function press_paused ()
{
toggle(menu_pan, SHOW);//hide menu panel
}

void main() // first function that is run when game loads
{
on_space = press_paused; // set space key to use press_paused.
}



this is a hell of a lot easier! look up Macro's in the manual laugh

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/