Sylar said, i should use Structs.. but i´ve no clue how they work...
That´s what i tried at the moment:
Code:
//=================================================================================================================================
//                                                                                                                               //
//                                                     DAS MAINSCRIPT                                                            //
//                                                     ^^^^^^^^^^^^^^                                                            //
//                                                                                                                               //
//=================================================================================================================================
//                                                                                                                               //
//                                          EINBINDEN DER UNTERORDNER UND SCRIPTS                                                //
//                                          """""""""""""""""""""""""""""""""""""                                                //
//                                                                                                                               //
//=================================================================================================================================
#define PRAGMA_PATH "Graphics\Characters"


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

//=================================================================================================================================
//                                                                                                                               //
//                                                       FUNKTIONEN                                                              //
//                                                       """"""""""                                                              //
//                                                                                                                               //
//=================================================================================================================================
typedef struct 
{
	STRING* name;
	BMAP* bitmap;
} PANELMAP;

PANELMAP* mypanmap;


//=================================================================================================================================
//                                                                                                                               //
//                                                     DAS MAINSCRIPT                                                            //
//                                                     """"""""""""""                                                            //
//                                                                                                                               //
//=================================================================================================================================
function main()
{
	fps_max = 60;
	d3d_antialias = 9;
	video_set(1024,768,32,0);
	video_window(vector(10,10,NULL),NULL,48,"@-´-,-´-,-´-,-  NEVERTOLD  -,-`-,-`-,-`-@ ");
	screen_color.red   = 1;
	screen_color.green = 1;
	screen_color.blue  = 1;
	sky_color.red   = 1;
	sky_color.green = 1;
	sky_color.blue  = 1;
	level_load(NULL);
	wait(3);
	
	str_cpy(mypanmap.name, "Gegner_Weißer Drachenreiter_stehen.png");
	mypanmap.bitmap = bmap_create(mypanmap.name);
	
	
	
	PANEL* test = pan_create("bmap = mypanmap.bitmap; flags = SHOW;", 10);
	
	error(mypanmap.name);
}



But it only gives me an "E1513" Error..

Need help!!!


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<