20.08.2012, 16:11
pawn Код:
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(60) : error 001: expected token: ";", but found "{"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(61) : error 010: invalid function or declaration
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(38887) : error 003: declaration of a local variable must appear in a compound block
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(38888) : error 010: invalid function or declaration
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(38890) : error 010: invalid function or declaration
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(38891) : error 010: invalid function or declaration
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(38893) : error 021: symbol already defined: "FIXES_ShowPlayerDialog"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(38894) : error 010: invalid function or declaration
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(38897) : error 003: declaration of a local variable must appear in a compound block
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(38898) : error 010: invalid function or declaration
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(38900) : error 010: invalid function or declaration
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(38901) : error 010: invalid function or declaration
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(38903) : error 021: symbol already defined: "FIXES_ShowPlayerDialog"
C:\Users\carlo\Desktop\New folder\gamemodes\SATDM_v11.pwn(38904) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
14 Errors.
pawn Код:
new radiolist[][][] =
{
{"http://www.emp3world.com/to_download.php?id=126072","PAYPHONE BY MAROON 5"},
{"http://www.emp3world.com/to_download.php?id=124333","One Direction What Makes You Beautiful"},
{"http://www.emp3world.com/to_download.php?id=125482","One THing by One Direction"},
{"http://www.emp3world.com/to_download.php?id=128111","Summer paradise by Simple Plan"},
{"http://www.emp3world.com/to_download.php?id=126981","Fun. - We Are Young ft. Janelle Monae"},
{"http://www.emp3world.com/to_download.php?id=140919","Snoop Dogg and Wiz Khalifa - Young Wild and Free"},
{"http://www.emp3world.com/to_download.php?id=125943","Carly Rae Jepsen - Call Me Maybe"},
{"http://www.emp3world.com/to_download.php?id=125133","Flo Rida - Wild Ones"},
{"http://www.emp3world.com/to_download.php?id=193313","Flo Rida - Whistle"},
{"http://www.emp3world.com/to_download.php?id=123781","Charice - Louder"}
};
new radiolist2[][][] =
{"http://www.emp3world.com/to_download.php?id=131912","Bruno Mars Feat Eminem Royce Da 59 - Bruno Mars Feat Eminem Royce Da 59 - Lighters -"},
{"http://www.emp3world.com/to_download.php?id=136158","Bruno Mars - B.o.B - Nothin' On You ft. Bruno Mars"},
{"http://www.emp3world.com/to_download.php?id=154870","Bruno Mars - Bruno Mars-Just The Way You Are"},
{"http://www.emp3world.com/to_download.php?id=121825"," Bruno Mars - Liquor Store Blues (feat. Damian Marley)"},
{"http://www.emp3world.com/to_download.php?id=137122","RIhanna ft Eminem-Love The way You lie D - RIhanna ft Eminem-Love The way You lie"},
{"http://www.emp3world.com/to_download.php?id=117115","Taylor Swift - Love Story"},
{"http://www.emp3world.com/to_download.php?id=184045","Katy Perry - Wide Awake -"},
{"http://www.emp3world.com/to_download.php?id=125350","Gotye Ft. Kimbra - Somebody That I Used To Know"},
{"http://www.emp3world.com/to_download.php?id=124465","The Wanted - Glad You Came"},
{"http://www.emp3world.com/to_download.php?id=129202","Wes Nyle - Fresh like dougie"}
};
new radiolist3[][][]
{"http://www.emp3world.com/to_download.php?id=125467","Nicki Minaj - Starships"} //Line 60
}; //line 61
pawn Код:
CMD:radio1(playerid,params[])
{
new list[500];
for(new i; i <= sizeof(radiolist); i++)
{
if(i == sizeof(radiolist)) format(list,500,"%s\n \n{FF0000}Stop Lisenig",list);
else format(list,500,"%s\n{FAFAFA}%02d) {FF9900}%s",list,i+1,radiolist[i][1]);
}
ShowPlayerDialog(playerid,DEIALOG_ID,DIALOG_STYLE_LIST,"{00C8C8}Please select a Station",list,"Play","Close");
return 1;
}
CMD:radio2(playerid,params[])
new list[500];//line 38887
for(new i; i <= sizeof(radiolist2); i++)//line 38888
{
if(i == sizeof(radiolist)) format(list,500,"%s\n \n{FF0000}Stop Lisenig",list);
else format(list,500,"%s\n{FAFAFA}%02d) {FF9900}%s",list,i+1,radiolist2[i][1])
}
ShowPlayerDialog(playerid,DEIALOG_ID,DIALOG_STYLE_LIST,"{00C8C8}Please select a Station",list,"Play","Close");
return 1;
}
CMD:radio3(playerid,params[])
new list[500];
for(new i; i <= sizeof(radiolist2); i++)
{
if(i == sizeof(radiolist)) format(list,500,"%s\n \n{FF0000}Stop Lisenig",list);
else format(list,500,"%s\n{FAFAFA}%02d) {FF9900}%s",list,i+1,radiolist3[i][1]);
}
ShowPlayerDialog(playerid,DEIALOG_ID,DIALOG_STYLE_LIST,"{00C8C8}Please select a Station",list,"Play","Close");
return 1;
}