08.03.2015, 16:57
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.
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.