Dialog wont appear
#1

pawn Код:
CMD:anmin(playerid, params[])
    {
                          ShowPlayerDialog(playerid, 23, DIALOG_STYLE_LIST, "Animations", "This doesnt give a responce to show anotherdialog","Select", "Cancel");
}
pawn Код:
if(dialogid == 23)
    {
        if(response)
        {
            switch(listitem)
            {
                case 0:
                {
                                                                      //another dialog here wa removed to test if it called the command which i had no luck it doesnt call the command
                    print("test");
                }
                                            }
                                }
                   }
Hey sorry to bother you but the command shows the first dialog but wont show the second in the ondialogresponce of the other dialog it worked before but now it doesnt work at all after i added more values to the first dialog (there is only 12 in the first dialog)
Reply
#2

is it a filterscript ?
if is it put your fs on first in the filterschrips line
Reply
#3

no i dont use filterscripts
Reply
#4

pawn Код:
CMD:anmin(playerid, params[])
    {
                          ShowPlayerDialog(playerid, 23, DIALOG_STYLE_LIST, "Animations", "This doesnt give a responce to show anotherdialog"","Select", "Cancel");
You have a " too much there
Try this:

pawn Код:
CMD:anmin(playerid, params[])
    {
                          ShowPlayerDialog(playerid, 23, DIALOG_STYLE_LIST, "Animations", "This doesnt give a responce to show anotherdialog","Select", "Cancel");
Also, you say there is an "anmin" command with params[]. But you put a dialog there.
Reply
#5

Quote:
Originally Posted by Drebin
Посмотреть сообщение
pawn Код:
CMD:anmin(playerid, params[])
    {
                          ShowPlayerDialog(playerid, 23, DIALOG_STYLE_LIST, "Animations", "This doesnt give a responce to show anotherdialog"","Select", "Cancel");
You have a " too much there
Try this:

pawn Код:
CMD:anmin(playerid, params[])
    {
                          ShowPlayerDialog(playerid, 23, DIALOG_STYLE_LIST, "Animations", "This doesnt give a responce to show anotherdialog","Select", "Cancel");
Also, you say there is an "anmin" command with params[]. But you put a dialog there.
That was an example that i wrote up if i hs that there would be a undefined symbol error it somthing other than that

also the params thing ill remove them later
Reply
#6

Are you sure you did not messed up dialog ID's ?
Reply
#7

Quote:
Originally Posted by Berlovan
Посмотреть сообщение
Are you sure you did not messed up dialog ID's ?
Dialogs are fine i have the dialog id's counting down next to there defines and 23 was the one i had to use next
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)