Detecting if a player has a dialog open
#1

Some of you may know about the dialog exploit (I just recently learned of its existence thanks to a friend) where one can press F6 to open the chat whilst a dialog is still open. This causes lots of problems, for example, players being able to chat before they've logged in thus being able to pose as an administrator.

Is there any way to detect when a dialog is open, or do I just need to go through every ShowPlayerDialog in my gamemode and add something like DialogOpen[playerid] = 1 (and then DialogOpen = 0 when they respond to the dialog)? Thanks.
Reply


Messages In This Thread
Detecting if a player has a dialog open - by Nicker - 08.03.2015, 16:57
Re: Detecting if a player has a dialog open - by Zonoya - 08.03.2015, 17:01
Re: Detecting if a player has a dialog open - by Kyance - 08.03.2015, 17:03
Re: Detecting if a player has a dialog open - by Nicker - 08.03.2015, 17:13
Re: Detecting if a player has a dialog open - by PowerPC603 - 08.03.2015, 17:42

Forum Jump:


Users browsing this thread: 3 Guest(s)