Ok, my fault. Another thing, that was my first error if i use a string without a var:
Code:
#include <acknex.h>
#include <default.c>

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);
	STRING* Teststring = str_create("Test");
	
	pan_setdigits(Testpan,0,15,7,Teststring,font_create("Arial#100"),1,0);  // <-- Testpan gives me the error!
	
	while(1)
	{
		wait(1);
	}
}


After some tests i can figute out the following: If i replace the last parameter 0 with a var, it works fine. But with 0 it gives a error. With all lower editions i never had this error.
I know there is a pan_setstring for that.

Last edited by Widi; 04/24/11 17:20.