fifth time posting for this bug can someone check this please
#3

Just block commands while a dialog is shown. It's not that hard. Use a global variable to store the currently shown dialogid for each player (i.e. whenever you use ShowPlayerDialog you store the same dialogid in the variable). In OnPlayerCommandText/OnPlayerCommandReceived block the command if that value is > 0. In OnDialogResponse check if dialogid == the stored value before proceeding to process it. If the value doesn't match the player is likely spoofing or cheating in some other way.
Reply


Messages In This Thread
fifth time posting for this bug can someone check this please - by venciiiha - 22.07.2016, 06:55
Re: fifth time posting for this bug can someone check this please - by Alpay0098 - 22.07.2016, 08:18
Re: fifth time posting for this bug can someone check this please - by Vince - 22.07.2016, 09:03
Re: fifth time posting for this bug can someone check this please - by venciiiha - 22.07.2016, 18:40

Forum Jump:


Users browsing this thread: 2 Guest(s)