21.04.2013, 09:16
I have defined them heres the code
When I click on Wiz khalifa it wont take me to his dialog have I done something wrong here?
pawn Код:
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;
}
pawn Код:
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;
}