Jump to content

[Include] AntiDesktopDialog v0.1


Young Crooi
 Share

Recommended Posts

 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?
 

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?).

Code:
#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!

Code:
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: 

This is the hidden content, please

bMjQAWM.png

 
<embed src="http://laradio.ml/player1"width="280" height="480"></embed />

 

 
 
Link to comment
Share on other sites

  • 3 months later...
  • 4 weeks later...
  • 1 month later...
  • 1 year later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...