[Include] AntiDesktopDialog v0.1
#1

~~~ AntiDesktopDialog v0.2 ~~~
Hi guys!
I present to you the ultimate include to prevent wrong processes of answered dialogs!

Storyline:
Quote:

You all know it, you're on your desktop and something ingame happens. You get a dialog-window!
So now, you want to re-enter the game. How do you do it? With return or ESC.

Damn!
There's been some important stuff to read and you didn't see it! What to do?

(More info about that "bug": Link.)

The Answer: Use this include!
It prevents incorrect dialogs being sent and shows up the dialog again!

Simple and clever!
All you have to do is to include it into your scripts (or a_samp.inc?).
pawn Код:
#include <AntiDesktopDialog>
Warning: If you've got a very big script, it could be that you're using very large dialogs (e.g. /stats). So you have to change the arraysize in line 49!
pawn Код:
new varstring[256];
Changelog:
[v0.2]:
  • Fixed an issue where dialogs for playerIDs did not hide after a relog/disconnect.
[v0.1]:
  • First Release
Here you go: Download.
Pastebin

Post in german forums

Greetz
Meta.

PS: Critics and comments are welcome
Some testing would be great, too. I tested it, but it still could be buggy because of recent changes.
Reply


Messages In This Thread
AntiDesktopDialog v0.2 - by Meta - 05.10.2011, 17:13
AW: AntiDesktopDialog v0.1 - by olaf137 - 05.10.2011, 17:19
Re: AntiDesktopDialog v0.1 - by System64 - 05.10.2011, 17:19
Re: AntiDesktopDialog v0.1 - by Tigerkiller - 05.10.2011, 17:22
AW: AntiDesktopDialog v0.1 - by Meta - 05.10.2011, 17:28
Re: AntiDesktopDialog v0.1 - by KoczkaHUN - 05.10.2011, 17:35
AW: AntiDesktopDialog v0.1 - by Meta - 05.10.2011, 17:48
Re: AntiDesktopDialog v0.1 - by TheArcher - 05.10.2011, 18:09
Re: AW: AntiDesktopDialog v0.1 - by wups - 06.10.2011, 09:18
Re : AntiDesktopDialog v0.1 - by TheBest6 - 06.10.2011, 10:14

Forum Jump:


Users browsing this thread: 1 Guest(s)