Problem with a dialog
#8

i also had alot of dialog mix up problems before.
my friend is coding for samp since its in beta and today he still have this probleme sometime.
this is just to tell you this problem is very common and really not only to beginner !

i and him ended up using fdialog.
no , it is not better just a bit faster.
way easier to deal with id.

it work like that


Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "
Код:
fDialog(1)
{
    if(response)
     {
         switch(listitem)
        {
        	case 0:
        	{
and so on...
see how much easy it is... and IF ever you have a mix up , you will get a error at compile time !
using it is just IMPOSSIBLE to mix up the id.

in the GM im working on ( 20% done ) im using like 40 different dialog and have zero problem.

here a screen with mixed up id using fdialog


and here is the include if you want to give it a try
i recommend it to everyone
https://sampforum.blast.hk/showthread.php?tid=260298
Reply


Messages In This Thread
Problem with a dialog - by LilBob - 05.06.2013, 18:16
Re: Problem with a dialog - by xXitsgodzillaXx - 05.06.2013, 19:29
Re : Problem with a dialog - by LilBob - 05.06.2013, 19:36
Re: Problem with a dialog - by dahley5 - 05.06.2013, 19:52
Re: Problem with a dialog - by SilverKiller - 05.06.2013, 20:09
Re: Problem with a dialog - by dahley5 - 05.06.2013, 21:24
Re: Problem with a dialog - by SilverKiller - 05.06.2013, 22:42
Re : Problem with a dialog - by NvidiaForTheWin - 06.06.2013, 01:54
Re: Problem with a dialog - by dahley5 - 06.06.2013, 02:23
Re: Problem with a dialog - by dahley5 - 06.06.2013, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)