Problem with dialogs.
#1

Hello i have a problem with the dialogs in my server. When i run anything FilterScript with Dialog and write the comand like : /radio it show the first dialog but when choose anything and closes and nothing happens. I try with 2-3 fs with dialogs and only first work...
Reply
#2

What ever your filterscript name is for the radio, put that first on your server.cfg file.
For example:

Код:
filterscripts Radio Others Here....
Hope this helped.
Reply
#3

Quote:
Originally Posted by RedWingz
Посмотреть сообщение
What ever your filterscript name is for the radio, put that first on your server.cfg file.
For example:

Код:
filterscripts Radio Others Here....
Hope this helped.
I know that... Problem is when i set them and write the command it show only the first dialog... Second, Third not work...
Reply
#4

What are the dialog id's you are using ? They can't be all the same number as it will make the other dialogs not function.
Reply
#5

Quote:
Originally Posted by [BG]BuLLDoZeR
Посмотреть сообщение
I know that... Problem is when i set them and write the command it show only the first dialog... Second, Third not work...
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if( dialogid == DIALOG_DIALOG1 )
    {
        //dialog 1
        return true;
    }
    if( dialogid == DIALOG_DIALOG2 )
    {
        //dialog 2
        return true;
    }
    if( dialogid == DIALOG_DIALOG3 )
    {
        //dialog 3
        return true;
    }
    return true;
}
On every dialog response you can set ShowPlayerDialog() and it will show next dialog thats good for shops and ect..
Reply
#6

Change your dialog id , recompile and try.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)