I'm having some trouble with making my HUD. This code executes and then crashes due to the pan_setdigits line.

Where am I going wrong with pan_setdigits?

Code:
wpn_pnl = pan_create(NULL,0);
pan_setdigits(wpn_pnl,0,300,200,2,"Arial#40",1,sys_seconds);
set(wpn_pnl,SHOW);



Last edited by Sub_Game; 06/28/10 09:06.

A7 Commercial
First person submarine combat simulator project
http://alexanderforeman.webs.com/fightersubgame.htm