Just to throw this in here, if you wanted a really basic one, you could just do...
a = show_message_ext("ZOMG, it's paused.","Continue","Restart","Quit") if a=1 //Nothing, I guess if a=2 room_restart()? if a=3 game_end()?[/CODE]
Just an addition, in case he didn't know...
if keyboard_check_pressed(vk_space) sound_play(snd_whatever)[/CODE] or [CODE] if keyboard_check_pressed(ord("A")) sound_play(snd_whatever)[/CODE] is the actual code.