21.04.2013, 17:09
Fixed
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == Dialog_Music)
{
if(response)
{
switch(dialogid)
{
case 1:
{
switch(listitem)
{
case 1: return SendClientMessage(playerid,ORANGE,"OKAY!");
case 2: return SendClientMessage(playerid,ORANGE,"OKAY!");
case 3: return SendClientMessage(playerid,ORANGE,"OKAY!");
case 4: return SendClientMessage(playerid,ORANGE,"OKAY!");
case 5: return SendClientMessage(playerid, ORANGE, "okay");
case 6: return SendClientMessage(playerid, ORANGE, "okay dokie");
}
}
}
}
if(dialogid == Dialog_Wizkhalifa)
{
switch(dialogid)
{
if(response)
{
};
if(listitem==0)
{
SendClientMessage(playerid,ORANGE,"OKAY!");
}
if(listitem==1)
{
SendClientMessage(playerid,ORANGE,"OKAY!");
}
if(listitem==2)
{
SendClientMessage(playerid,ORANGE,"OKAY!");
}
if(listitem==3)
{
SendClientMessage(playerid,ORANGE,"OKAY!");
}
if(listitem==4)
{
SendClientMessage(playerid,ORANGE,"OKAY!");
}
if(listitem==5)
{
SendClientMessage(playerid,ORANGE,"OKAY!");
}
}
}
return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case Dialog_music:
{
if(response) {
switch(listitem)
{
case 1: return SendClientMessage(playerid,ORANGE,"OKAY!");
case 2: return SendClientMessage(playerid,ORANGE,"OKAY!");
case 3: return SendClientMessage(playerid,ORANGE,"OKAY!");
case 4: return SendClientMessage(playerid,ORANGE,"OKAY!");
case 5: return SendClientMessage(playerid, ORANGE, "okay");
case 6: return SendClientMessage(playerid, ORANGE, "okay dokie");
}
}
}
case Dialog_Wizkhalifa:
{
if(response) {
switch(lsititem)
{
case 0:
{
SendClientMessage(playerid,ORANGE,"OKAY!");
}
case 1:
{
SendClientMessage(playerid,ORANGE,"OKAY!");
}
case 2:
{
SendClientMessage(playerid,ORANGE,"OKAY!");
}
case 3:
{
SendClientMessage(playerid,ORANGE,"OKAY!");
}
case 4:
{
SendClientMessage(playerid,ORANGE,"OKAY!");
}
case 5:
{
SendClientMessage(playerid,ORANGE,"OKAY!");
}
}
}
}
}
return 0;
}
pawn Код:
pawn Код:
|