uhm..i found some and i tried it.. but when i run the script, it exits.. frown

is there something wrong with this?
Code:
function pause_escape()
{
   freeze_mode = 1;
   pause_panel.flags = SHOW | OVERLAY;
}

function main()
{
   on_esc = pause_escape;
   screen_size.x = 800;
   screen_size.y = 600;
   sun_light=100;	
}




what do you think?