SA-MP Forums Archive
textdraws - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: textdraws (/showthread.php?tid=658657)



textdraws - DarknesS1988 - 09.09.2018

I've made a textdraw with codes, i did example but how can i preview the code textdraw? I can't turn server on because it's not over yet. Is there any tool? Online site or something where i can export my codes to view my textdraw like a image? I did some research but nothing working found.

PHP код:
DaysOfWeek TextDrawCreate(549.07.0WeekDays[GameDay]);
    
TextDrawAlignment(DaysOfWeek1);
    
TextDrawBackgroundColor(DaysOfWeek0x000000FF);
    
TextDrawFont(DaysOfWeek2);
    
TextDrawLetterSize(DaysOfWeek0.29991.2);
    
TextDrawColor(DaysOfWeek0xFFFFFFFF);
    
TextDrawSetOutline(DaysOfWeek1);
    
TextDrawSetProportional(DaysOfWeektrue);
    
TextDrawSetShadow(DaysOfWeek1); 
PHP код:
Lotto1 TextDrawCreate(334.000000281.000000"~g~Daily Lottery Draw~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ");
    
TextDrawAlignment(Lotto12);
    
TextDrawBackgroundColor(Lotto1255);
    
TextDrawFont(Lotto13);
    
TextDrawLetterSize(Lotto10.5000001.000000);
    
TextDrawColor(Lotto1, -1);
    
TextDrawSetOutline(Lotto10);
    
TextDrawSetProportional(Lotto11);
    
TextDrawSetShadow(Lotto11);
    
TextDrawUseBox(Lotto11);
    
TextDrawBoxColor(Lotto1COLOR_CLEARBLUE);
    
TextDrawTextSize(Lotto1560.000000319.000000);
    
Lotto2 TextDrawCreate(330.000000302.000000"Todays Number ~p~64 ~w~Jackpot ~g~$6982345");
    
TextDrawAlignment(Lotto22);
    
TextDrawBackgroundColor(Lotto2255);
    
TextDrawFont(Lotto21);
    
TextDrawLetterSize(Lotto20.3000000.899999);
    
TextDrawColor(Lotto2, -1);
    
TextDrawSetOutline(Lotto20);
    
TextDrawSetProportional(Lotto21);
    
TextDrawSetShadow(Lotto21); 



Re: textdraws - SiNaGaMeR - 09.09.2018

you should download "TDEditor" and import your codes to that.


Re: textdraws - DarknesS1988 - 09.09.2018

Quote:
Originally Posted by SiNaGaMeR
Посмотреть сообщение
you should download "TDEditor" and import your codes to that.
Do you have maybe working link with all required files?


Re: textdraws - KinderClans - 09.09.2018

https://github.com/adri1samp/TDEditor


Re: textdraws - DarknesS1988 - 09.09.2018

Quote:
Originally Posted by KinderClans
Посмотреть сообщение
I did everything, placed txd to san andreas txd file, started the server mode grandlarc and when i type /tde i got unknown command. Maybe iam missing something?


Re: textdraws - Lokii - 09.09.2018

Make sure you loaded sscanf and tde (sscanf must be loaded first)


Re: textdraws - DarknesS1988 - 09.09.2018

Quote:
Originally Posted by Lokii
Посмотреть сообщение
Make sure you loaded sscanf and tde (sscanf must be loaded first)
PHP код:
filterscripts tde
gamemode0 grandlarc 0
plugins sscanf
.dll tde.dll 





Re: textdraws - v1k1nG - 09.09.2018

Well it looks like the filterscript hasn't loaded correctly. Please share your server log, fully.


Re: textdraws - Lokii - 09.09.2018

Try installing this https://www.microsoft.com/en-us/down....aspx?id=48145


Re: textdraws - DarknesS1988 - 09.09.2018

Quote:
Originally Posted by v1k1nG
Посмотреть сообщение
Well it looks like the filterscript hasn't loaded correctly. Please share your server log, fully.
PHP код:
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[16:26:15
[
16:26:15Server Plugins
[16:26:15] --------------
[
16:26:15]  Loading pluginsscanf.dll
[16:26:15
[
16:26:15]  ===============================
[
16:26:15]       sscanf plugin loaded.     
[
16:26:15]          Version:  2.8.1        
[16:26:15]    (c2012 Alex "******" Cole  
[16:26:15]  ===============================
[
16:26:15]   Loaded.
[
16:26:15]  Loading plugintde.dll
[16:26:15
TDEditor Plugin loadedthank you for using.
[
16:26:15]   Loaded.
[
16:26:15]  Loaded 2 plugins.
[
16:26:15
[
16:26:15Ban list
[
16:26:15] --------
[
16:26:15]  Loadedsamp.ban
[16:26:15
[
16:26:15
[
16:26:15Filterscripts
[16:26:15] ---------------
[
16:26:15]   Loading filterscript 'tde.amx'...
[
16:26:15]   Loaded 1 filterscripts.
[
16:26:15Loaded 3 vehicles fromvehicles/trains.txt
[16:26:15Loaded 3 vehicles fromvehicles/pilots.txt
[16:26:15Loaded 15 vehicles fromvehicles/lv_law.txt
[16:26:15Loaded 39 vehicles fromvehicles/lv_airport.txt
[16:26:15Loaded 255 vehicles fromvehicles/lv_gen.txt
[16:26:15Loaded 38 vehicles fromvehicles/sf_law.txt
[16:26:15Loaded 35 vehicles fromvehicles/sf_airport.txt
[16:26:15Loaded 353 vehicles fromvehicles/sf_gen.txt
[16:26:15Loaded 24 vehicles fromvehicles/ls_law.txt
[16:26:15Loaded 37 vehicles fromvehicles/ls_airport.txt
[16:26:15Loaded 98 vehicles fromvehicles/ls_gen_inner.txt
[16:26:15Loaded 389 vehicles fromvehicles/ls_gen_outer.txt
[16:26:15Loaded 71 vehicles fromvehicles/whetstone.txt
[16:26:15Loaded 168 vehicles fromvehicles/bone.txt
[16:26:15Loaded 61 vehicles fromvehicles/flint.txt
[16:26:15Loaded 96 vehicles fromvehicles/tierra.txt
[16:26:15Loaded 96 vehicles fromvehicles/red_county.txt
[16:26:15Total vehicles from files1781
[16:26:15
---------------------------------------
[
16:26:15Running Grand Larceny by the SA-MP team
[16:26:15] ---------------------------------------
[
16:26:15Number of vehicle models173
[16:27:20] [connection127.0.0.1:64577 requests connection cookie.
[
16:27:21Incoming connection127.0.0.1:64577 id0
[16:27:21] [joinDARKNESS_258 has joined the server (0:127.0.0.1)
[
16:28:48] [partDARKNESS_258 has left the server (0:1