Posts: 83
Threads: 22
Joined: Sep 2011
Reputation:
0
I heard about this issue and I want to understand more about how it works and if it's possible to avoid.
Thanks in advance.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
They can only spoof their last dialog shown. Hook ShowPlayerDialog and store the dialogid to a per-player array. In OnDialogReponse callback, check if they match.
> If not, call ShowPlayerDialog with dialogid as -1 (or any negative) to hide the dialog to player's screen and just return true/1 to stop the code execution.
> If they do match, reset the variable to -1 or a desired value (preferably negative to avoid any conflicts) and let it execute the code for that response.
Posts: 83
Threads: 22
Joined: Sep 2011
Reputation:
0
It works? Because I read of lot of people having issues, can I use it?