SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 02/10/2018, 10:33 PM   #521
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,770
Reputation: 849
Default Re: Dialogs include - Adding new styles to SAMP GUI

Quote:
Originally Posted by CantBeJohn View Post
Was this ever addressed? I never bothered getting involved with BigETI's PAWN memory access plugin, but it's his plugin after all; so what he mentioned before is a tad concerning.
Yes, v4.7.2 (which was recently posted on GitHub) has the fix.

Quote:
Originally Posted by corne View Post
Ever thought of bringing out a 0.3.DL version with custom textdraw textures to (potentially) reduce the amount you use or make it look even more like the normal SA:MP dialog (looks awesome and pretty similar already, but could always be even better)? Just an idea I had, not sure if it would work and / or look better.
Not lot of people upgraded to 0.3DL but other than that, i don't have time to implement it!
__________________

Follow me on Github: Follow me on Spotify: Donate on Paypal:

Gammix is offline   Reply With Quote
Old 05/11/2018, 06:11 PM   #522
MineiriinHo
Huge Clucker
 
MineiriinHo's Avatar
 
Join Date: Feb 2016
Location: pawno/include/world. inc
Posts: 314
Reputation: 13
Default Re: Dialogs include - Adding new styles to SAMP GUI

warning 203: symbol is never used: "Prev_CreatePlayerTextDraws"

??
MineiriinHo is offline   Reply With Quote
Old 09/11/2018, 06:41 PM   #523
tandytanz
Big Clucker
 
tandytanz's Avatar
 
Join Date: Nov 2011
Location: Indonesia
Posts: 100
Reputation: 10
Default Re: PreviewModelDialog.inc - SAMP looking like dialog for preview models list

To run this include, 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

There is no pawn-memory.dll in there
tandytanz is offline   Reply With Quote
Old 09/11/2018, 07:24 PM   #524
CantBeJohn
Big Clucker
 
CantBeJohn's Avatar
 
Join Date: Oct 2016
Posts: 112
Reputation: 15
Default Re: PreviewModelDialog.inc - SAMP looking like dialog for preview models list

Quote:
Originally Posted by tandytanz View Post
To run this include, 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

There is no pawn-memory.dll in there

Yes, there is. If you went to GitHub > releases, you'd see them.

Here: https://github.com/BigETI/pawn-memory/releases
CantBeJohn is offline   Reply With Quote
Old 21/11/2018, 08:54 PM   #525
JoaoMP
Little Clucker
 
Join Date: Jun 2013
Posts: 1
Reputation: 0
Default Re: Dialogs include - Adding new styles to SAMP GUI

This problem fix...

// top
Quote:
#include <memory>
#include <PreviewModelDialog>
Code:
new skins_array[] =
{
	0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,
	50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,
	97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,
	132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,
	167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,
	202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,
	237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,
	272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299
};

CMD:skins(playerid, params[])
{
	new
	    dialogstr[2056]
	;
	for (new i = 0, j = sizeof(skins_array); i < j; i++) {
		format(dialogstr, sizeof(dialogstr), "%s%i\n\n", dialogstr, skins_array[i]);
	}
    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_PREVMODEL, "Skin selection dialog", dialogstr, "Select", "Cancel");

    return 1;
}
compile

->
Quote:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


Well .. I tried to upgrade to the new model, however I'm not getting it, it compiles fine, but it's time to connect the server ..


Code:
[20:49:56] Script[gamemodes/truck.amx]: Run time error 19: "File or function is not found"
[20:49:56] Number of vehicle models: 3

Help pls..
__________________
[CENTER][FONT="Comic Sans MS"]
Brasil Siga Bem Caminhoneiro

SA:MP 0.3.7
Team Speak 3 SbC: 23.254.165.234
Discord: http://www.discord.gg/wQevDbb
JoaoMP is offline   Reply With Quote
Old 21/11/2018, 09:11 PM   #526
BigETI
Banned
 
Join Date: Mar 2010
Location: Germany
Posts: 1,047
Reputation: 359
Default Re: Dialogs include - Adding new styles to SAMP GUI

Add crashdetect to your server and restart your server.
BigETI is offline   Reply With Quote
Old 12/12/2018, 05:06 AM   #527
3417512908
Big Clucker
 
3417512908's Avatar
 
Join Date: Feb 2018
Location: China
Posts: 123
Reputation: 14
Default Re: Dialogs include - Adding new styles to SAMP GUI

but why?
#include <memory>
#include <Preview>
Code:
E:\SurvivalWar\pawno\include\Preview.inc(680) : error 017: undefined symbol "MEM_NULLPTR"
E:\SurvivalWar\pawno\include\Preview.inc(681) : error 017: undefined symbol "MEM_get_size"
E:\SurvivalWar\pawno\include\Preview.inc(703) : error 017: undefined symbol "MEM_NULLPTR"
E:\SurvivalWar\pawno\include\Preview.inc(704) : error 017: undefined symbol "MEM_delete"
E:\SurvivalWar\pawno\include\Preview.inc(707) : error 017: undefined symbol "MEM_delete"
E:\SurvivalWar\pawno\include\Preview.inc(710) : error 017: undefined symbol "MEM_delete"
E:\SurvivalWar\pawno\include\Preview.inc(712) : error 017: undefined symbol "MEM_NULLPTR"
E:\SurvivalWar\pawno\include\Preview.inc(712) : warning 213: tag mismatch
E:\SurvivalWar\pawno\include\Preview.inc(906) : error 017: undefined symbol "MEM_NULLPTR"
E:\SurvivalWar\pawno\include\Preview.inc(906) : warning 213: tag mismatch
E:\SurvivalWar\pawno\include\Preview.inc(925) : error 017: undefined symbol "MEM_NULLPTR"
E:\SurvivalWar\pawno\include\Preview.inc(1190) : error 017: undefined symbol "MEM_new"
E:\SurvivalWar\pawno\include\Preview.inc(1190) : warning 213: tag mismatch
E:\SurvivalWar\pawno\include\Preview.inc(1210) : error 017: undefined symbol "MEM_new"
E:\SurvivalWar\pawno\include\Preview.inc(1210) : warning 213: tag mismatch
E:\SurvivalWar\pawno\include\Preview.inc(1211) : error 017: undefined symbol "MEM_new_arr"
E:\SurvivalWar\pawno\include\Preview.inc(1211) : warning 213: tag mismatch
E:\SurvivalWar\pawno\include\Preview.inc(1222) : error 017: undefined symbol "MEM_get_size"
E:\SurvivalWar\pawno\include\Preview.inc(1223) : error 017: undefined symbol "MEM_new"
E:\SurvivalWar\pawno\include\Preview.inc(1223) : warning 213: tag mismatch
E:\SurvivalWar\pawno\include\Preview.inc(1226) : error 017: undefined symbol "MEM_delete"
3417512908 is offline   Reply With Quote
Old 12/12/2018, 05:19 AM   #528
BigETI
Banned
 
Join Date: Mar 2010
Location: Germany
Posts: 1,047
Reputation: 359
Default Re: Dialogs include - Adding new styles to SAMP GUI

You need the memory access plugin include file to compile the code and the memory access plugin to run that code.
BigETI is offline   Reply With Quote
Old 20/12/2018, 05:05 AM   #529
neropic
Big Clucker
 
neropic's Avatar
 
Join Date: Sep 2010
Location: Argentina
Posts: 88
Reputation: 2
Default Re: Dialogs include - Adding new styles to SAMP GUI

Nice job, it's great
neropic is offline   Reply With Quote
Old 21/12/2018, 05:48 AM   #530
tuantruoq
Little Clucker
 
Join Date: Jun 2016
Posts: 2
Reputation: 0
Default Re: Dialogs include - Adding new styles to SAMP GUI

help pls
tuantruoq 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 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


All times are GMT. The time now is 02:59 PM.


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