![]() |
#1 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2015
Location: Canada
Posts: 1,766
Reputation: 840
|
![]() PreviewModelDialog.inc Version: 4.7.2 || Last Updated: 14 October, 2019 This include introduces you to a new dialog style: "DIALOG_STYLE_PREVIEW_MODEL". A SA-MP looking like dialog with both standard buttons but with preview models in a list form! For preview of dialogs, skip down to examples for photos. Functionality:
Example: Basic ShowPlayerDialog A simple skin selection dialog with all samp skins as listitems. ![]() Source: PHP Code:
A simple weapon shop dialog, you can modify the array, add/delete weapons from it and the dialog shape itself! You can also see i used custom rotations for each listitem in this dialog. ![]() Source: PHP Code:
PreviewModelDialog.inc: https://github.com/Agneese-Saini/SA-...ginVersion.inc PreviewModelDialog.inc (plugin-free-version): https://github.com/Agneese-Saini/SA-...reeVersion.inc If you are using the recommended version i.e. memory plugin version, you'll need to download and install Pawn-Memory plugin, link below. pawn-memory.dll/.so: http://forum.sa-mp.com/showthread.php?t=645166 Last edited by Gammix; 14/10/2019 at 09:28 PM. |
![]() |
![]() |
![]() |
#2 |
Huge Clucker
![]() ![]() ![]() Join Date: Dec 2014
Location: Indonesia
Posts: 261
Reputation: 27
|
![]()
Great job man!
|
![]() |
![]() |
![]() |
#3 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2015
Location: Canada
Posts: 1,766
Reputation: 840
|
![]()
Thanks^
UPDATE R2 - 6th April, 2015
|
![]() |
![]() |
![]() |
#4 |
Gangsta
![]() ![]() ![]() ![]() Join Date: Jul 2014
Location: !ncredible India.
Posts: 698
Reputation: 344
|
![]()
Nice work! Looks sick! *appreciated*.
|
![]() |
![]() |
![]() |
#5 |
Big Clucker
![]() ![]() Join Date: May 2014
Location: Nowhere,But still you can find me anytime you want
Posts: 140
Reputation: 33
|
![]()
Nice,btw i was working on an include like this to release too.
|
![]() |
![]() |
![]() |
#6 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2012
Posts: 4,853
Reputation: 1313
|
![]() pawn Code:
Why bother? It's done in OnPlayerDisconnect(). Line 189: pawn Code:
You for got to clean up playerdraws in OnGameModeExit() / OnFilterScriptExit() |
![]() |
![]() |
![]() |
#7 |
Huge Clucker
![]() ![]() ![]() Join Date: Dec 2014
Location: Indonesia
Posts: 261
Reputation: 27
|
![]()
Sorry, but it's look neat
|
![]() |
![]() |
![]() |
#8 | ||
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2015
Location: Canada
Posts: 1,766
Reputation: 840
|
![]() Quote:
Quote:
R3 - 8th April, 2015
Please download the latest version. Last edited by Gammix; 08/04/2015 at 12:56 PM. |
||
![]() |
![]() |
![]() |
#9 |
Gangsta
![]() ![]() ![]() ![]() Join Date: Jul 2012
Posts: 548
Reputation: 95
|
![]()
Nice job buddy. I will use it!
When will this come out: ![]() |
![]() |
![]() |
![]() |
#10 | ||||
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2015
Location: Canada
Posts: 1,766
Reputation: 840
|
![]() Quote:
AND, i personally think people have habit to perform such checks like IsPlayerConnected, or maybe a range check... So i didn't bothered to add that! Though now it is done in R4. All the functions having Dialog_ as prefix are internal functions, i don't recommend people to use them! Quote:
Quote:
Why they shouldn't be global, i don't think so you need player textdraws for just a static display. Quote:
R4 - 10th April, 2015
Please download the latest version. |
||||
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FilterScript] Items spawner dialogs (zcmd & dialogs include) | Q_Lite | Filterscripts | 17 | 16/10/2016 12:09 PM |
[FilterScript] [FS]Fighting Styles,5 most usable styles Like in SP By Don_(GH) | HAYTXA | Filterscripts | 10 | 28/03/2013 07:39 AM |
Making an OnFilterScriptInit in an include without adding anything in the .pwn exepct the #include | r3k1lLz_ | Help Archive | 6 | 06/01/2011 07:49 AM |
[FilterScript] [FS]Trans World Airlines v0.2 [TWA] - Bug Fixed - Adding Dialogs Soon. | Toni | Filterscripts | 16 | 13/06/2010 03:57 PM |
[FilterScript] [FS] Fighting Styles (0.3a) - |Save styles in Dini| | MoBiL[e] | Filterscripts | 23 | 24/04/2010 12:12 PM |