nickk888samp / textdraw-editor Goto Github PK
View Code? Open in Web Editor NEWA TextDraw editor for SA-MP with rich features.
A TextDraw editor for SA-MP with rich features.
I need to use this editor in my android phone. I saw a guy in youtube using it in android. Someone help me to do so.
Hi. Your accpet PR?
Hi,
I tried to use your filterscript but however, I cannot see anything. All I get is the dialog that tells me how to close the editor. If I click on "Ok", I still cannot see anything.
I just downloaded the whole project (including the server executables) and started the server and joined it.
https://i.imgur.com/2qSXifQ.png
Any help would be appreciated. I used the latest version of the filterscript.
Hello,
When I try to execute /ntd , menu is not visible. Mouse cursor activated but bottom menu not active.
Hi,i have a question about default samp gui. In your editor when you call your textdraw editor the default samp gui just vanish. My question is how can i do it too? Im making a open.mp project and you can upload custom textures and use it as a textdraw. I want to hide the default samp gui and show only the textdraw? How can i do it?
To clarify this:
D:\sw\pawno\include\ndialog-pages.inc(133) : error 035: argument type mismatch (argument 4)
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(919) : error 017: undefined symbol "NDP_AUTO"
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(930) : error 017: undefined symbol "NDP_AUTO"
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(3078) : error 017: undefined symbol "NDP_AUTO"
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(3128) : error 017: undefined symbol "AddDialogListitem"
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(4436) : error 017: undefined symbol "AddDialogListitem"
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(4507) : error 017: undefined symbol "AddDialogListitem"
C:\Users\kevin\Desktop\SAMP\server-win\filterscripts\ntd.pwn(4656) : error 017: undefined symbol "NDP_AUTO"
From your ndialog-pages repository I downloaded the first version (your second commit in that repository), version 2.0.
That one comes with issues aswell:
D:\sw\pawno\include\ndialog-pages.inc(136) : error 035: argument type mismatch (argument 4)
D:\sw\pawno\include\ndialog-pages.inc(159) : error 035: argument type mismatch (argument 4)
That is fixed by declaring the parameters from ndialog_pages_ShowPlayerDialog
as regular arrays/strings and not constants (just for the parameters used for ShowPlayerDialog().
Same applies in ntd.pwn on line 3367 (const text[]
-> text[]
of function ShowInfo()
). Which is pretty odd by the way, because I don't think when you released it that happened.
Using latest compiler from Zeex and stable release of latest YSI.
input string was not in correct format what does that supposed to be mean? I mean the textdraw is correct and when converting sometextdraw it doesnt convert.
ntd.amx load failed
it only happens to me in 6.1
Please select the main 'ntd' directory from the 'scriptfiles' folder is the text I get when I try to convert a .txt file. It would be good if I haven't put the .txt into the scriptfiles directory, but I have.
When i got these messages:
printf("\n[NTD ERROR] Could not find directory or directories!");
printf("[NTD ERROR] Please create 'NTD' directory inside 'scriptfiles'!");
printf("[NTD ERROR] Within 'NTD' you should create the 'exports', 'projects' and 'languages' directory!");
printf("[NTD ERROR] The script will be unloaded or blocked!\n");
it's says that u need to create 'NTD' directory, in appercase, but actually, but it actually only worked when I changed the folder name to lowercase 'ntd'
Was looking over the code (it changed alot since the last time I used it -it became even more awesome, good job!) but I did notice this:
@stock ExportProject() ... Line 3344: if(dfile_FileExists("/NTD/Exports"))
The release however gives you precisely this directory structure:
scriptfiles/ntd/exports
(After looking up: All file path defines are OK, just the manual ones aren't)- Guessing those have yet to be changed; Lines: 3117, 3120, 3313, 3319, 3340, 3344, 4550, 4806
Windows doesn't care so much. Linux systems however (tested on Ubuntu Server 20.04) aren't so happy with it.
Server didn't crash (which I expected) but my client stopped doing anything and reconnected. Project file wasn't created
When opening projects nothing happens, the mouse just goes toggable like its selecting a textdraw.
Downloaded the whole package and put it in my server folder, had to change ndialog-pages.inc's includes because it was including y_hooks wrong, then when I tried to compile it I got tons of errors and warnings (mostly const-correctness related)
C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:838 (warning) literal array/string passed to a non-const parameter C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:838 (warning) literal array/string passed to a non-const parameter C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:838 (warning) literal array/string passed to a non-const parameter
There's also a few errors that won't let the file build
C:\Users\nonso\Desktop\SAMP server\dependencies\YSI-Includes\YSI_Core\y_core\y_utils_impl.inc:282 (error) function heading differs from prototype
Because the code for OnPlayerDisconnect in your filterscript is
public OnPlayerDisconnect(playerid)
instead of
public OnPlayerDisconnect(playerid, reason)
Also
C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:1014 (error) undefined symbol "cmd_ntd"
C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:1392 (error) undefined symbol "cmd_ntd"
C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:1393 (error) undefined symbol "cmd_ntd"
C:\Users\nonso\Desktop\SAMP server\filterscripts\ntd.pwn:1403 (error) undefined symbol "cmd_ntd"```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.