SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 30/11/2015, 01:51 PM   #151
Carper
Little Clucker
 
Carper's Avatar
 
Join Date: Oct 2013
Posts: 32
Reputation: 5
Default Re: Dialogs include - Adding new styles to SAMP GUI

Wow, very nice!
Carper is offline   Reply With Quote
Old 09/12/2015, 07:14 PM   #152
vegaltasendai
Big Clucker
 
Join Date: Mar 2014
Posts: 115
Reputation: 23
Default Re: Dialogs include - Adding new styles to SAMP GUI

Nice job.
as change the color of the box?
transparent color.
vegaltasendai is offline   Reply With Quote
Old 09/12/2015, 09:05 PM   #153
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,324
Reputation: 652
Default Re: Dialogs include - Adding new styles to SAMP GUI

Quote:
Originally Posted by vegaltasendai View Post
Nice job.
as change the color of the box?
transparent color.
It's built to look like SA-MP's dialogs. I believe it should remain this way. If you want it changed do it in the code (easy thing to do, just modify the textdraw colors).
Crayder is offline   Reply With Quote
Old 11/12/2015, 01:00 PM   #154
ExTaZZ69
Big Clucker
 
ExTaZZ69's Avatar
 
Join Date: Mar 2015
Location: Romania
Posts: 128
Reputation: 23
Default Re: Dialogs include - Adding new styles to SAMP GUI

I think this i have a problem with #pragma dynamic.

Any ideas?
Edit:
When i delete this line
Code:
#pragma dynamic (DIALOG_MAX_LISTITEMS * DIALOG_MAX_LISTITEM_SIZE * 4)
I recive an unknown command in game eror. I see the dialog but the listitems are not shown. I use a "print" debug method and this line not execute:
Code:
new t_sSplit[DIALOG_MAX_LISTITEMS][DIALOG_MAX_LISTITEM_SIZE];
ExTaZZ69 is offline   Reply With Quote
Old 11/12/2015, 01:54 PM   #155
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,773
Reputation: 858
Default Re: Dialogs include - Adding new styles to SAMP GUI

Quote:
Originally Posted by ExTaZZ69 View Post
I think this i have a problem with #pragma dynamic.

Any ideas?
Edit:
When i delete this line
Code:
#pragma dynamic (DIALOG_MAX_LISTITEMS * DIALOG_MAX_LISTITEM_SIZE * 4)
I recive an unknown command in game eror. I see the dialog but the listitems are not shown. I use a "print" debug method and this line not execute:
Code:
new t_sSplit[DIALOG_MAX_LISTITEMS][DIALOG_MAX_LISTITEM_SIZE];
That issue will be fixed in the upcoming new update with a resolution fix from Electro as well.But it might take time since i am busy in updating lot of my libraries.
__________________

Follow me on Github: Donate on Paypal:

Gammix is offline   Reply With Quote
Old 11/12/2015, 02:27 PM   #156
Romz
Banned
 
Join Date: Jun 2013
Location: Ukraine
Posts: 1,042
Reputation: 64
Default Re: Dialogs include - Adding new styles to SAMP GUI

Quote:
Originally Posted by Gammix View Post
That issue will be fixed in the upcoming new update with a resolution fix from Electro as well.But it might take time since i am busy in updating lot of my libraries.
When the update?
Romz is offline   Reply With Quote
Old 11/12/2015, 03:45 PM   #157
DRIFT_HUNTER
High-roller
 
Join Date: Oct 2009
Posts: 2,151
Reputation: 215
Default Re: Dialogs include - Adding new styles to SAMP GUI

Try commenting #pragma dynamic line and replacing
stock static (line 100) with new
DRIFT_HUNTER is offline   Reply With Quote
Old 12/12/2015, 01:19 AM   #158
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,773
Reputation: 858
Default Re: Dialogs include - Adding new styles to SAMP GUI

Quote:
Originally Posted by Kolstin View Post
When the update?
As soon as possible.

Quote:
Originally Posted by DRIFT_HUNTER View Post
Try commenting #pragma dynamic line and replacing
stock static (line 100) with new
That would cause trouble when storing the dialog info, resulting in less number of listitems than expected when using the new styles.
__________________

Follow me on Github: Donate on Paypal:

Gammix is offline   Reply With Quote
Old 05/01/2016, 12:58 AM   #159
TakeiT
Gangsta
 
Join Date: May 2014
Location: Toronto, Canada
Posts: 738
Reputation: 157
Default Re: Dialogs include - Adding new styles to SAMP GUI

It seems to screw with other includes/functions using OnPlayerClickPlayerTextDraw, basically, no matter what IDs you choose for each it triggers OnDialogResponse. An mSelection feature was triggering my login system, resolved when i removed the include.
TakeiT is offline   Reply With Quote
Old 05/01/2016, 01:24 AM   #160
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,773
Reputation: 858
Default Re: Dialogs include - Adding new styles to SAMP GUI

Quote:
Originally Posted by TakeiT View Post
It seems to screw with other includes/functions using OnPlayerClickPlayerTextDraw, basically, no matter what IDs you choose for each it triggers OnDialogResponse. An mSelection feature was triggering my login system, resolved when i removed the include.
I am working on a new version which will be fixing all known issues.
__________________

Follow me on Github: Donate on Paypal:

Gammix is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Items spawner dialogs (zcmd & dialogs include) Q_Lite Filterscripts 17 16/10/2016 11:09 AM
[FilterScript] [FS]Fighting Styles,5 most usable styles Like in SP By Don_(GH) HAYTXA Filterscripts 10 28/03/2013 06:39 AM
Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include r3k1lLz_ Help Archive 6 06/01/2011 06:49 AM
[FilterScript] [FS]Trans World Airlines v0.2 [TWA] - Bug Fixed - Adding Dialogs Soon. Toni Filterscripts 16 13/06/2010 02:57 PM
[FilterScript] [FS] Fighting Styles (0.3a) - |Save styles in Dini| MoBiL[e] Filterscripts 23 24/04/2010 11:12 AM


All times are GMT. The time now is 07:47 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.