Hallo
habe ich auch nicht, die Fehlermeldung ist die selbe jedoch bezogen auf jeweils verschiedenen Dateien (optin_map, main_map usw.)

////////////////////////
//FUNCTION DEFINITIONS//
////////////////////////
function scrollCredits(); // forward declaration

//////////////////////
//DEFINE DEFINITIONS//
//////////////////////

//define and initialize your defines for the text for the credit menu
//DO NOT MODIFY
define TEXT_PANEL_OFFSET_X, 80; // offset for x pos of visible text
define TEXT_PANEL_OFFSET_Y, 230; // offset for y position of visible text
define SCROLL_SPEED, 1; // scroll faster == bigger number
define NUM_CREDIT_STRINGS, 31; // how many strings in the TEXT?

define vid_tog_low, 6;
define vid_tog_high, 7;

var set_vid;
//////////////////////
//BITMAP DEFINITIONS//
//////////////////////

//define your bmp for the main menu
//DO NOT MODIFY
bmap main_map <mainmenu.bmp>;

//define your bmp for the option menu
//DO NOT MODIFY
bmap option_map <optionmenu.bmp>;

//define your bmp for the CREDIT menu
//DO NOT MODIFY
bmap credit_bmp <creditmenu.bmp>;

//define your bmp for the button off
//DO NOT MODIFY
bmap but_off_map <butoff.bmp>;

//define your bmp for the button on
//DO NOT MODIFY
bmap but_on_map <butover.bmp>;

//define your bmp for fade
//DO NOT MODIFY
bmap black_map <blk.bmp>;

/////////////////////
//SOUND DEFINITIONS//
/////////////////////

//define your sound for the main menu
//DO NOT MODIFY
music main_sound <Menusound.mid>;

//define your sound for the main menu
//DO NOT MODIFY
music credit_sound <Creditsound.mid>;

//define your sound for the main menu
//DO NOT MODIFY
sound but_sound <Butsound.wav>;

////////////////////////
//VARIABLE DEFINITIONS//
////////////////////////

//define your var to stop and start the main menu music
//DO NOT MODIFY
var main_sound_handle;

//define your var to stop and start the credit menu music
//DO NOT MODIFY
var credit_sound_handle;

//define your var to control the sound level
//DO NOT MODIFY
var sound_level = 50;

//define your var to control the music level
//DO NOT MODIFY
var music_level = 30;

//define your var to control the videos res
//DO NOT MODIFY
var vid_mode = 6;

//define your var to control the panel fades
//DO NOT MODIFY
var fade_timer;

//define your var to control the game_state
//DO NOT MODIFY
var g_state = 0;

//define your var to control the text scrolling
//DO NOT MODIFY
var credits_scrolling = off;

//////////////////////////////////
//CREDIT STRING FONT DEFINITIONS//
//////////////////////////////////
font credit_font, <Impact8.bmp>, 10, 15; // height is 15

///////////////////////////
//CREDIT TEXT DEFINITIONS//
///////////////////////////

//define your text object for your credit string
// DO NOT MODIFY
text credit_txt {
layer 3;
pos_x = 0; // we'll set it with code
pos_y = 0; // we'll set it with code
font = standard_font;
size_y = 150; // char_height * visible rows (15 * 10)
offset_y = 0;
strings = NUM_CREDIT_STRINGS;
string = "*********************************************************************************";
string = "Realspawn and Raiden Present: The Ultimate Complete Menu WDL";
string = "*********************************************************************************";
string = " ";
string = "Concept and Idea: Realspawn";
string = " ";
string = "Images: Realspawn";
string = " ";
string = "Sounds: Realspawn";
string = " ";
string = "Start Midi: Loops Of Fury by Chemical Brothers";
string = " ";
string = "Options Midi: Snadstorm by Darude";
string = " ";
string = "Programming: Raiden";
string = " ";
string = " ";
string = " ";
string = "Special Credit: Neonlite, for his contribution of the scrolling text code";
string = " ";
string = "**********************************************************************************";
string = " ";
string = "This menu system has been brought to you by: U.L.S. Leaders in gaming software!!!";
string = " ";
string = "**********************************************************************************";
string = " ";
string = " ";
string = " ";
string = "";
string = " ";
string = "";
flags = d3d;
}

/////////////////////
//PANEL DEFINITIONS//
/////////////////////

//define your main startup panel
//DO NOT MODIFY
panel main_panel
{
bmap = main_map;
layer = 1;
flags = refresh,d3d;
}

//define your main buttons startup panel
//DO NOT MODIFY
panel main_buttons_panel
{
layer = 2;
button = 10,180,but_on_map,but_off_map,but_on_map,main_strt,null,over_sound;
button = 10,245,but_on_map,but_off_map,but_on_map,options,null,over_sound;
button = 10,310,but_on_map,but_off_map,but_on_map,quit,null,over_sound;
button = 10,375,but_on_map,but_off_map,but_on_map,toggle_credits,null,over_sound;
flags = refresh,overlay,d3d;//overlay needed for buttons
}

//define your option panel
//DO NOT MODIFY
panel option_panel
{
bmap = option_map;
layer = 1;
flags = refresh,d3d;
}

//define your option buttons panel
//DO NOT MODIFY
panel option_buttons_panel
{
layer = 2;
hslider = 270,175,300,but_on_map,0,100,sound_level;
hslider = 270,240,300,but_on_map,0,100,music_level;
hslider = 270,305,300,but_on_map,vid_tog_low,vid_tog_high,vid_mode;
button = 10,375,but_on_map,but_off_map,but_on_map,main_back,null,over_sound;
flags = refresh,overlay,d3d;//overlay needed for buttons
}

//define your credit panel
//DO NOT MODIFY
panel credit_pan {
layer 1;
pos_x = 0; // we'll set it with code
pos_y = 0; // we'll set it with code
bmap credit_bmp;
flags = refresh, d3d;
}

//define your credit buttons panel
//DO NOT MODIFY
panel credit_buttons_panel
{
layer = 2;
button = 0,410,but_on_map,but_off_map,but_on_map,main_back,null,over_sound;
flags = refresh,overlay,d3d;//overlay needed for buttons
}

//define your black panel
//DO NOT MODIFY
panel black_panel
{
bmap = black_map;
layer = 4;
flags = refresh,transparent,d3d;
}
string v[4];
text shw_vid_mode
{
font = standard_font;
layer = 9;
pos_x = 50;
pos_y = 50;
string = v;
flags = visible;
}

///////////////////
//END DEFINITIONS//
///////////////////

/*****************************************************************************/

///////////////////
//PANEL FUNCTIONS//
///////////////////

//function for sound to play when mouse is over button
//DO NOT MODIFY
function over_sound() { snd_play(but_sound,sound_level,0); }

//function to quit from main menu
//DO NOT MODIFY
function quit() { exit; }

//function to shutdown panels and sound from main_start()
//DO NOT MODIFY
function panels_off()
{
g_state = 1;//break the loop for music volume and video resolution
switch_video(vid_mode,0,0);
black_panel.visible = off;
credit_pan.visible = off;
credit_txt.visible = off;
credits_scrolling = off; // stop scrolling credits function
credit_buttons_panel.visible = off;
option_panel.visible = off;
option_buttons_panel.visible = off;
main_panel.visible = off;
main_buttons_panel.visible = off;
//snd_stop(main_sound_handle);
//snd_stop(credit_sound_handle);
}

function adjust_mid_vol()
{
while(g_state == 0)
{
midi_vol = music_level;
if(vid_mode <= 6.5) { vid_mode = video_mode; }
if(vid_mode >= 6.5) { vid_mode = video_mode + 1; }
wait(1);
}
}
// play a song if volume was set at beginning
function start_song()
{
midi_vol = music_level;
//wait(4); // wait until LOAD_INFO has loaded the last volume setting
if(midi_vol > 0) { play_song_once(main_sound,music_level); }
}
//play a new song for the options
function option_song()
{
midi_vol = music_level;
//wait(4); // wait until LOAD_INFO has loaded the last volume setting
if(midi_vol > 0) { play_song_once(credit_sound,music_level); }
}
//kill music for switch back between main and credit
function kill_music() { midi_vol = 0; }
//function to switch to main panel this will also start from main
//DO NOT MODIFY
function main_back()
{
kill_music();
start_song();
adjust_mid_vol();
//set up fade in
fade_timer = 0;
black_panel.alpha = 0;
black_panel.visible = on;
while(fade_timer < 100)
{
black_panel.alpha += 1;
fade_timer += 1;
wait(1);
}
fade_timer = 100;
black_panel.alpha = 100;
credit_pan.visible = off;
credit_txt.visible = off;
credits_scrolling = off; // stop scrolling credits function
credit_buttons_panel.visible = off;
option_panel.visible = off;
option_buttons_panel.visible = off;
waitt(16);//1 secs black
main_panel.visible = on;
main_buttons_panel.visible = on;
//snd_stop(main_sound_handle);
//snd_stop(credit_sound_handle);
//if(midi_vol > 0) { play_song_once(main_sound,music_level); }
//set up fade out
while(fade_timer > 0)
{
black_panel.alpha -= 0.5;
fade_timer -= 0.5;
wait(1);
}
black_panel.alpha = 0;
black_panel.visible = off;
}

//function to switch to options panel
//DO NOT MODIFY
function options()
{
//set up fade in
fade_timer = 0;
black_panel.alpha = 0;
black_panel.visible = on;
while(fade_timer < 100)
{
black_panel.alpha += 1;
fade_timer += 1;
wait(1);
}
fade_timer = 100;
black_panel.alpha = 100;
main_panel.visible = off;
main_buttons_panel.visible = off;
waitt(16);//2 secs black
option_panel.visible = on;
option_buttons_panel.visible = on;
//set up fade out
while(fade_timer > 0)
{
black_panel.alpha -= 0.5;
fade_timer -= 0.5;
wait(1);
}
black_panel.alpha = 0;
black_panel.visible = off;
}

//function to switch to credit panel
//DO NOT MODIFY
function toggle_credits()
{
kill_music();
option_song();
adjust_mid_vol();
if(credit_pan.visible == off)
{ // turn it on!
// center the panel to the screen
credit_pan.pos_x = (screen_size.x - bmap_width(credit_bmp)) / 2;
credit_pan.pos_y = (screen_size.y - bmap_height(credit_bmp)) / 2;
// position TEXT in relation to panel
credit_txt.pos_x = credit_pan.pos_x + TEXT_PANEL_OFFSET_X;
credit_txt.pos_y = credit_pan.pos_y + TEXT_PANEL_OFFSET_Y;
//set up fade in
fade_timer = 0;
black_panel.alpha = 0;
black_panel.visible = on;
while(fade_timer < 100)
{
black_panel.alpha += 1;
fade_timer += 1;
wait(1);
}
fade_timer = 100;
black_panel.alpha = 100;
main_panel.visible = off;
main_buttons_panel.visible = off;
option_panel.visible = off;
option_buttons_panel.visible = off;
waitt(16);//2 secs black
// turn them on
credit_pan.visible = on;
credit_buttons_panel.visible = on;
credit_txt.visible = on;
// reset scrolling
credit_txt.offset_y = 0;
//snd_stop(credit_sound_handle);
//snd_stop(main_sound_handle);
//if(midi_vol > 0) { play_song_once(credit_sound,music_level); }
//set up fade out
while(fade_timer > 0)
{
black_panel.alpha -= 0.5;
fade_timer -= 0.5;
wait(1);
}
black_panel.alpha = 0;
black_panel.visible = off;
// scroll the TEXT
scrollCredits();
}
else
{
// turn them off
credit_pan.visible = off;
credit_txt.visible = off;
credits_scrolling = off; // stop scrolling credits function
}
}

//function to scroll text in credit panel
//DO NOT MODIFY
function scrollCredits() {
exclusive_global;
waitt(48); // 3 seconds before scrolling
credits_scrolling = on;
while(credits_scrolling == on) {
credit_txt.offset_y += time * SCROLL_SPEED;
if(credit_txt.offset_y >= credit_txt.char_y * NUM_CREDIT_STRINGS) {
waitt(16); // 1 second before showing beginning text again
credit_txt.offset_y = 0; // restart scrolling
waitt(48); // 3 seconds before scrolling
}
wait(1);
}
}