11.04.2013, 02:08
Please don't judge or laugh.. I have only just started to try get in to Scripting.. (First project) Everyone has to start somewhere.. but i don't see what the problem is here :S
Код:
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.