Originally Posted By: MPQ
sth. like that:
Code:
void pan()
{
  wait(-3)// wait 3 sec
  while (pan.alpha > 0)
  {
    pan.alpha -= 10*time_step;
    wait(1);
  }
  ptr_remove (pan);
}



Thanks laugh

But I got an error:
Code:
PANEL* splash_screen =
{
	bmap = splash_jpg;
	layer = 2;
	flags = SHOW;
	}

void pan()
{
  wait(-3)// wait 3 sec
  while (pan.alpha > 0)
  {
    pan.alpha -= 10*time_step;
    wait(1);
  }
  ptr_remove (pan);
}


is this right.