ok, im a begginer in this (got it 2 days ago) nd ive encountered a problem, My panel wont show
i feel like ive tried everything, but i obviously havent.

no need to say that my other code is a bit, off, or whatever u would call it. i took one of the wizards and bound the camera to it so i could make the camera move the looking direction for example

////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>

////////////////////////////////////////////////////////////////////

ENTITY* wizard;
BMAP* crosshair = "crosshair.pcx";
BMAP* hej = "grej.pcx";
var move_speed = 15;
var mouse_sens = 20;
var cam_pan = 0;
var a = 0;
var b = 0;
var c = 0;

////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////
function reset_pos()
{
wizard.x = 0;
wizard.y = 0;
}

PANEL first_pan = // my first panel
{
bmap = hej;
flags = VISIBLE;
layer = 1;
}

function main()
{
video_mode = 8; // 800x600 pixels
video_depth = 32;
video_screen = 1;
level_load ("work11.wmb");
wait(2);
ph_setgravity (vector(0, 0, -386));
mouse_mode = 1;
mouse_map = crosshair;
mouse_pos.x = 512;
mouse_pos.y = 384;
wait(1);
reset_pos();
while(1)
{
camera.pan -= (mouse_force.x * mouse_sens * time_step);
camera.tilt += (mouse_force.y * mouse_sens * time_step);
wizard.pan = camera.pan;
if(key_w)
{
c_move(wizard, vector(move_speed * time_step,0,0), nullvector, GLIDE);
}
if(key_s)
{
c_move(wizard, vector(-move_speed * time_step,0,0), nullvector, GLIDE);
}
if(key_a)
{
c_move(wizard, vector(0,move_speed * time_step,0), nullvector, GLIDE);
}
if(key_d)
{
c_move(wizard, vector(0,-move_speed * time_step,0), nullvector, GLIDE);
}
//if(key_space)
//{
// c_move(wizard, nullvector, vector(0,0,10), GLIDE);
//}
if(key_esc)
{
sys_exit(NULL);
}
camera.x = wizard.x;
camera.y = wizard.y;
camera.z = wizard.z + 30;
wait(1);
}
}

action wizard_with_pointer()
{
wizard = my;
my.ambient = 100;
}

action wizard_simple()
{
my.ambient = 100;
}