Sziasztok lenne egy kis gond a Scriptembe még kezdõvagyok égyszi segitsetek...Nem huzom hisszura másolom a kódot:
[pawn]/******************************************************************************/
/* A LEGJOBB ZENÉK SCRIPT By SandKinG */
/******************************************************************************/
#include <a_samp>
public OnFilterScriptInit()
{
print(\"=============================\");
print(\" A LEGJOBB ZENÉK SCRIPT By SandKinG \");
print(\"=============================\");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, \"/music\", true) == 0)
{
ShowPlayerDialog(playerid,1987,DIALOG_STYLE_LIST,\"Zenék\",\"FloRida ft Sia Wild Ones\\nInna Endless\\nChrisLawyer Right on Time\\nAvicii ft Taio Cruz(vocal mix)\\nDM Boyz Aie se tu pegu MIX\\nJoan Jett I love Rock\'n Roll\\nChildren of Distance Kedves Naplóm\\nMaron 5 Stereo ft GyM Class Heros\\nSean Paul Gut 2 love you\\nSasha Lopez All my People\\nFloRida Good Feeling\\nPittbul & Chris Brown International love\\nPittbul ft Marc Anthony Rain ove my\\nTom Boxer ft Morena Deep in Love\\nLMFAO Ft GoonRock Party Rock Anethem\\nUsher With You\",\"Meghallhatom\",\"\");
return 1;
}
return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1987)
{
if(listitem == 0)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Flo%20Rida%20-%20Wild%20Ones%20%28feat.%20Sia%29%20HDHQ.mp3?attredirects=0&d=1\");
}
if(listitem == 1)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/fileshare.ro_INNA%20-%20Endless%20%28Original%20Radio%20Edit%29%20...By%20DJ%20Ovi%20%26%20www.vitanclub.net.mp3?attredirects=0&d=1\");
}
if(listitem == 2)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Chris%20Lawyer-%20Right%20On%20Time%20Original%20Mix.mp3?attredirects=0&d=1\");
}
if(listitem == 3)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Avicii%20ft.%20Taio%20Cruz%20-%20The%20Party%20Next%20Door%20%28Vocal%20Mix%29%20%5BHQ%5D.mp3?attredirects=0&d=1\");
}
if(listitem == 4)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/DM%20Boyz%20-%20Ai%20Se%20Eu%20Te%20Pego%20%28Mike%20Candys%20vs%20Eden%20ES%20Shalev%20Bootleg%29.mp3?attredirects=0&d=1\");
}
if(listitem == 5)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Joan%20Jett%20%26%20the%20Blackhearts%20-%20I%20Love%20Rock%20N%20Roll%20%28Original%20Video%29.mp3?attredirects=0&d=1\");
}
if(listitem == 6)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Children%20of%20Distance%20-%20Kedves%20napl%C3%B3m%20%28Official%20music%20video%29.mp3?attredirects=0&d=1\");
}
if(listitem == 7)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Gym%20Class%20Heroes%20Stereo%20Hearts%20ft%20Adam%20Levine%20OFFICIAL%20VIDEO.mp3?attredirects=0&d=1\");
}
if(listitem ==
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Sean%20Paul%20ft.%20Alexis%20Jordan-Gut%202%20Love%20U%20%5BLycris%5D.mp3?attredirects=0&d=1\");
}
if(listitem == 9)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Sasha%20Lopez%20Andrea%20D%20%20Broono%20All%20My%20People%20OFFICIAL%20VIDEO%20Full%20HD.mp3?attredirects=0&d=1\");
}
if(listitem == 10)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Flo%20Rida%20-%20Good%20Feeling%20%5BOfficial%20Video%5D.mp3?attredirects=0&d=1\");
}
if(listitem == 11)
{
PlayAudiStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Flo%20Rida%20-%20Good%20Feeling%20%5BOfficial%20Video%5D.mp3?attredirects=0&d=1\");
}
if(listitem == 12)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Pitbull%20Featuring%20Chris%20Brown%20-%20International%20Love.mp3?attredirects=0&d=1\");
}
if(listitem == 13)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Pitbull%20-%20Rain%20Over%20Me%20ft%20Marc%20Anthony.mp3?attredirects=0&d=1\");
}
if(listitem == 14)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Tom%20Boxer%20%20Morena%20feat%20J%20Warner%20-%20Deep%20in%20Love.mp3?attredirects=0&d=1\");
}
if(listitem == 15)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Party%20Rock%20Anthem%20-%20LMFAO%20OFFICIAL%20LYRICS.mp3?attredirects=0&d=1\");
}
if(listitem==16)
{
PlayAudioStreamForPlayer(playerid, \"
https://sites.google.com/site/kunhegyesfreestylestuntszerver/home/kunhegyesiek-stunt-szervere/Usher%20-%20Without%20You%20RADIO%20EDIT%20%281%29.mp3?attredirects=0&d=1\");
return 1;
}
return 0;
}
[/pawn]
A hibák :C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP szerver\\filterscripts\\music.pwn(19) : error 075: input line too long (after substitutions)
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP szerver\\filterscripts\\music.pwn(20) : error 037: invalid string (possibly non-terminated string)
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP szerver\\filterscripts\\music.pwn(20) : error 017: undefined symbol \"FloRida\"
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP szerver\\filterscripts\\music.pwn(20) : error 017: undefined symbol \"ft\"
C:\\Documents and Settings\\Rendszergazda\\Asztal\\SAMP szerver\\filterscripts\\music.pwn(20) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
Nem tudtam kijavitani, Kérelek benneteket segitsetek, hogyan a lenne a legegyszerûbb megoldani!