DialogHider.cs (Dialog Hack)
#3

Assign the dialog id to the variable rather than just 0 or 1. Then you can compare it directly in OnDialogResponse which provides an extra layer of protection, i.e.:
PHP код:
if(PlayerInfo[playerid][pDialogOpen] != dialogid
Reply


Messages In This Thread
DialogHider.cs (Dialog Hack) - by Shetch - 20.01.2017, 08:50
Re: DialogHider.cs (Dialog Hack) - by wallee - 20.01.2017, 09:08
Re: DialogHider.cs (Dialog Hack) - by Vince - 20.01.2017, 09:21
Re: DialogHider.cs (Dialog Hack) - by Shetch - 20.01.2017, 09:46
Re: DialogHider.cs (Dialog Hack) - by Lordzy - 20.01.2017, 09:57
Re: DialogHider.cs (Dialog Hack) - by PrO.GameR - 20.01.2017, 09:57
Re: DialogHider.cs (Dialog Hack) - by Vince - 20.01.2017, 10:13
Re: DialogHider.cs (Dialog Hack) - by Sgt.TheDarkness - 20.01.2017, 13:54
Re: DialogHider.cs (Dialog Hack) - by Shetch - 20.01.2017, 14:53
Re: DialogHider.cs (Dialog Hack) - by Lordzy - 20.01.2017, 15:07

Forum Jump:


Users browsing this thread: 1 Guest(s)