Yes, I had the same problem and I've changed all the 0 to "", because the parameter pv must be a global var* pointer, like this:
Code:
#include <default.c>

BMAP* TESTBMAP;

var O = 0;

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,O);  // <-- Testpan gives me the error!
	
	while(1)
	{
		wait(1);
	}
}


And my version without global var pointer.

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,"");  // <-- Testpan gives me the error!
	
	while(1)
	{
		wait(1);
	}
}



Last edited by rojart; 04/24/11 18:21.

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