public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mp3", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_LIGHTGREEN,"{EEEEEE}[{7340DB}INFO{EEEEEE}] {DBED15}Welcome to the MP3 dialog, please select the song you would like to play."); ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST,"MP3 Player.","Coldplay - Viva La Vida\nThe Wanted - I found you\nEminem - Must be the Ganja\nEminem - 8 Mile\nCalvin Harris - Spectrum\nInfinity\nSum 41 - Hell Song\nThe Lumineers - Ho Hey\nLMFAO - Sexy and i know it\nSkrillex - Bangarang\nOlly Murs ft Fo-rida - Troublemaker\nRihanna - Diamonds\nNickey Romero - Toulouse\nKendrick L - Swimming pools\nThe script -Hall of Fame\nHouse Music (Mix)\nBig Bank Hank\nI need a dollar\nColdplay - Clocks\nColdplay - The scientist\nColdplay - Charlie Brown\nSasha Lopez - All my people [Brazilian]","Play","Exit"); return 1; } return 0; }
C:\Users\Brandon\Desktop\MP3.pwn(41) : error 075: input line too long (after substitutions) C:\Users\Brandon\Desktop\MP3.pwn(42) : error 037: invalid string (possibly non-terminated string) C:\Users\Brandon\Desktop\MP3.pwn(42) : error 017: undefined symbol "Coldplay" C:\Users\Brandon\Desktop\MP3.pwn(42) : error 017: undefined symbol "La" C:\Users\Brandon\Desktop\MP3.pwn(42) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
You had better remove all those {eeeee} codes cause that are not use in scripting ...
|
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mp3", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_LIGHTGREEN,"{EEEEEE}[{7340DB}INFO{EEEEEE}] {DBED15}Welcome to the MP3 dialog, please select the song you would like to play.");
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST,"MP3 Player.","Coldplay - Viva La Vida\nThe Wanted - I found you\nEminem - Must be the Ganja\nEminem - 8 Mile\nCalvin Harris - Spectrum\nInfinity\nSum 41 - Hell Song\n\
The Lumineers - Ho Hey\nLMFAO - Sexy and i know it\nSkrillex - Bangarang\nOlly Murs ft Fo-rida - Troublemaker\nRihanna - Diamonds\nNickey Romero - Toulouse\nKendrick L - Swimming pools\nThe script -Hall of Fame\n\
House Music (Mix)\nBig Bank Hank\nI need a dollar\nColdplay - Clocks\nColdplay - The scientist\nColdplay - Charlie Brown\nSasha Lopez - All my people [Brazilian]","Play","Exit");
return 1;
}
return 0;
}
C:\Users\Brandon\Desktop\MP3.pwn(43) : error 075: input line too long (after substitutions) C:\Users\Brandon\Desktop\MP3.pwn(44) : error 037: invalid string (possibly non-terminated string) C:\Users\Brandon\Desktop\MP3.pwn(44) : error 017: undefined symbol "Coldplay" C:\Users\Brandon\Desktop\MP3.pwn(44) : error 017: undefined symbol "La" C:\Users\Brandon\Desktop\MP3.pwn(44) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mp3", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_LIGHTGREEN,"{EEEEEE}[{7340DB}INFO{EEEEEE}] {DBED15}Welcome to the MP3 dialog, please select the song you would like to play.");
new string[256]; // don't feel like countin out how many characters there is lol
strcat(string, "Coldplay - Viva La Vida\nThe Wanted - I found you\nEminem - Must be the Ganja\nEminem - 8 Mile\nCalvin Harris - Spectrum\nInfinity\nSum 41 - Hell Song\nThe Lumineers - Ho Hey");
strcat(string, "\nLMFAO - Sexy and i know it\nSkrillex - Bangarang\nOlly Murs ft Fo-rida - Troublemaker\nRihanna - Diamonds\nNickey Romero - Toulouse\nKendrick L - Swimming pools\nThe script -Hall of Fame");
strcat(string, "\nHouse Music (Mix)\nBig Bank Hank\nI need a dollar\nColdplay - Clocks\nColdplay - The scientist\nColdplay - Charlie Brown\nSasha Lopez - All my people [Brazilian]");
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST,"MP3 Player.",string,"Play","Exit");
return 1;
}
return 0;
}