if(dialogid == Dialog_Music)
{
if(response)
{
if(listitem==0)
{
ShowPlayerDialog(playerid,Dialog_WizKhalifa,2,"Music Thats By Wiz Khalifa"," Let It Go\nBlack And Yellow\nRoll Up\nWork Hard Play Hard\nWild and Free\nOn My Level","Okay","Cancel");
}
if(listitem==1)
{
SendClientMessage(playerid, ORANGE,"Change This To THE MUSIC DIALOG CREATE A NEW DIALOG HERE");
}
if(listitem==2)
{
SendClientMessage(playerid, ORANGE,"Change This To THE MUSIC DIALOG CREATE A NEW DIALOG HERE");
}
if(listitem==3)
{
SendClientMessage(playerid, ORANGE,"Change This To THE MUSIC DIALOG CREATE A NEW DIALOG HERE");
}
if(listitem==4)
{
SendClientMessage(playerid, ORANGE,"Change This To THE MUSIC DIALOG CREATE A NEW DIALOG HERE");
}
if(listitem==5)
{
SendClientMessage(playerid, ORANGE,"Change This To THE MUSIC DIALOG CREATE A NEW DIALOG HERE");
}
if(listitem==6)
{
SendClientMessage(playerid, ORANGE,"Change This To THE MUSIC DIALOG CREATE A NEW DIALOG HERE");
}
}
}
if(dialogid == Dialog_WizKhalifa)
{
if(response)
{
if(listitem==0)
{
SendClientMessage(playerid, ORANGE,"Change This To THE MUSIC DIALOG CREATE A NEW DIALOG HERE");
}
if(listitem==1)
{
SendClientMessage(playerid, ORANGE,"Change This To THE MUSIC DIALOG CREATE A NEW DIALOG HERE");
}
if(listitem==2)
{
SendClientMessage(playerid, ORANGE,"Change This To THE MUSIC DIALOG CREATE A NEW DIALOG HERE");
}
if(listitem==3)
{
SendClientMessage(playerid, ORANGE,"Change This To THE MUSIC DIALOG CREATE A NEW DIALOG HERE");
}
if(listitem==4)
{
SendClientMessage(playerid, ORANGE,"Change This To THE MUSIC DIALOG CREATE A NEW DIALOG HERE");
}
if(listitem==5)
{
SendClientMessage(playerid, ORANGE,"Change This To THE MUSIC DIALOG CREATE A NEW DIALOG HERE");
}
}
}
return 1;
}
CMD:music(playerid,params[])
{
ShowPlayerDialog(playerid,Dialog_Music,2,"Music [FS] By RandomDude.","Wiz Khalifa\nLiL Wayne\nRick Ross\nWale\n50 Cent\nTupac Shakur","Okay","Cancel");
return 1;
}
I've gone through and all of your code seems fine. Double check your dialog IDs. If you are really still having issues, you'll need to post more code because the problem area does not seem pertinent.
|