Thanks guys for trying helping with this mess.
My mistake was that in function I trying set sturct BMAP, but this is wrong I must set pointer to BMAP not sturct.
there is working code
Code:
#include <acknex.h>
#include <default.c>

 
PANEL* cool_pan = 
{
	scale_x = 0.5; scale_y = 0.5;
	flags = SHOW;
}
function create_screen_bmap (BMAP** this,VECTOR* pos,VECTOR* aang)
{
	BMAP* fb = bmap_createblack(screen_size.x,screen_size.y,24); 
	vec_set(camera.x,pos);vec_set(camera.pan,aang);
	wait(2);// render screen in new position and angle
	bmap_for_screen(fb,0,1);
	*this = fb;
}

void main ()
{
	level_load(0);ent_create("sphere.mdl",nullvector,NULL);
	
	create_screen_bmap(cool_pan.bmap,vector(-50,0,0),nullvector);beep();
}


wink


A7 Commercial cool
Celeron 1700, GeForce 5500 FX 256mb, 1 Gb Ram