The parameter 4 is not the STRING* or char* format.
This way should work.

Code:
#include <acknex.h>
#include <default.c>

var testvar;
BMAP* TESTBMAP;

void main()
{
	level_load (NULL);
	
	TESTBMAP = bmap_createblack(200,200,32);
	bmap_fill (TESTBMAP,vector(0,0,255),70);
	PANEL* Testpan = pan_create("bmap = TESTBMAP;   red = 255;   green = 0;   blue = 0", 1);
	set(Testpan,SHOW);
	
	pan_setdigits(Testpan,0,15,7,"%.f",font_create("Arial#100"),1,testvar);  // <-- Testpan gives me the error!
	
	while(1)
	{
		testvar ++;
		wait(1);
	}
}




Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P