Dialogs..... help needed
#1

I got those dialogs... It's a tutorial and login...

http://pastebin.com/n13fGWJ9

But for some reason, when I click continue on the first Tutorial dialog, the next doesn't show up....


help please.
Reply
#2

Your code is too messed up in pastebin.com, it's too hard to read. I'm guessing it's you forgot to put ShowPlayerDialog.
Reply
#3

No, It has showplayerdialog
Reply
#4

Try to add "900" before all of the dialog id, e.g. 9001,9002,etc., or some others.
I've faced the same problem before, and I found that there're some other dialogs in other fs/gm have the same dialog id.This will cause problems on OnDialogResponse.
I hope it will be solved in the later versions of the server.
Reply
#5

Did not help with adding 900... And I have no more showplayerdialogs in FS's or anything

gamemode is 100% created by me so I would know...
Reply
#6

In some places you check
Код:
if(!response)
and don't check for
Код:
if(response)
and vice-versa in other parts.

So here the thing; check for
Код:
if(response)
in starting of every dialog and use
Код:
if(!response) // or "else"
after it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)