Posts: 123
Threads: 65
Joined: Feb 2018
Reputation:
0
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)
Posts: 1,266
Threads: 6
Joined: Oct 2014
You should do the return 0 under OnDialogResposne not under OnPlayerUpdate....
Posts: 184
Threads: 41
Joined: May 2015
Reputation:
0
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.
Posts: 251
Threads: 3
Joined: Jul 2011
Reputation:
0
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.