Dialog spoofing
#2

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.
Reply


Messages In This Thread
Dialog spoofing - by pollo97 - 25.11.2017, 17:42
Re: Dialog spoofing - by Konstantinos - 25.11.2017, 18:27
Re: Dialog spoofing - by pollo97 - 25.11.2017, 19:11
Re: Dialog spoofing - by IstuntmanI - 25.11.2017, 19:18
Re: Dialog spoofing - by pollo97 - 25.11.2017, 20:47

Forum Jump:


Users browsing this thread: 1 Guest(s)