Brifle_chrshr_pan.pos_x = (screen_size.x-bmap_width(Brifle_chrshr))/2;
Brifle_chrshr_pan.pos_y = (screen_size.y-bmap_height(Brifle_chrshr))/2;

straight from my game, didnt edit it, dont have time atm, Brifle_chrshr_pan is the panel definiton, Brifle_chrshr is the bmap point, the top one centers it horizontally, the lower one centers it vertically