OnDialogResponse
#1

All right.I use dialog on my filterscript.But when I press dialog button.It is not response...
(I`m used return 0; on public OnDialogResponse(playerid),but it is still not working)
Reply
#2

anyone?
Reply
#3

You should do the return 0 under OnDialogResposne not under OnPlayerUpdate....
Reply
#4

Quote:
Originally Posted by jlalt
Посмотреть сообщение
You should do the return 0 under OnDialogResposne not under OnPlayerUpdate....
sorry it is i Inadvertent input error. Corrected. should is OnDialogResposne
I used return 0;
Reply
#5

probably wrong dialog ID? does DialogResponse gets called? do a little debugging. Use print or printf to display a message on console when that function gets called. If theres nothing on console, you know what it means.
Reply
#6

Make sure you return 0 under OnDialogResponse in your filterscript and in the gamemode. Return 1 when the correct dialog is responded to so that the server knows the correct dialog was responded to and will stop searching scripts.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)