i have this
Code:
void on_level_event(var percent)
{
	lbg_splash_progressbar.progress = percent;
	LBG_update_progressbar(lbg_splash_progressbar);
        frame++;
}
void on_level_load_event()
{
	on_level_event(100); // To make sure it actually hits 100%
	loaded_level.ready = 1;	
}



then i hit tab and typed frames and he told me 5 and in the manual it says taht the on_level event cant be excuted several times in one frame