Hali, Tökéletesen mûködik a script meg minden.. odáig hogy választok zenét mert nem játsza le..
Mi a gond vele?
#include <a_samp>
#pragma tabsize 0
#if defined FILTERSCRIPT
#endif
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/zene\", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, \"{D82CC1}Zene lejátszó\",\"{2CD8D6}Fake Blood - I Think I Like It\\n{2CD8D6}Pákó - Szõke Barna x\'DDD\\n{2CD8D6}Reflected - Flags & Lies\\n{2CD8D6}Reflected - Twenty three\\n{2CD8D6}Meglepetés Zene XD\\n{2CD8D6}South Central - Demons\\n{2CD8D6}Dr. Dre - Still D.R.E. ft. Snoop Dogg\\n{CC0CE1}Zene kikapcsolás\",\"Ok\",\"Kilép\");
return 1;
}
return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)
{
switch(dialogid)
{
case 200:
{
switch(listitem)
{
case 0:
{
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, \"http://d2.anjo.to/files/FakeBloodIThinkILikeIt_2881.mp3\");//Fake Blood - I Think I Like It
}
case 1:
{
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, \"http://d2.anjo.to/files/PkSzkeBarnaOfficialMusic2012_3795.mp3\");//PÁKÓ - SZÕKE, BARNA
}
case 2:
{
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, \"http://d5.anjo.to/files/ReflectedFlagsAmpLies_5774.mp\");//Reflected - Flags & Lies
}
case 3:
{
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, \"http://d2.anjo.to/files/ReflectedTwentythree_4950.mp3\");//ReflectedTwentythree
}
case 4:
{
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, \"http://d2.anjo.to/files/PsotaIrnKtKicsiKecske_1970.mp3\");//Psota Irén: Két kicsi kecske
}
case 5:
{
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, \"http://d1.anjo.to/files/Dirt3Soundtrack1SouthCentralDemonsTrailerMusic_2248.mp3\");// South Central - Demons
}
case 6:
{
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, \"http://d5.anjo.to/files/DrDreStillDreFtSnoopDogg_1918.mp3\");//Dr. Dre - Still D.R.E. ft. Snoop Dogg
}
case 7:
{
StopAudioStreamForPlayer(playerid);
}
}
}
}
}
return 1;
}