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.0, 7.0, WeekDays[GameDay]);
    
TextDrawAlignment(DaysOfWeek, 1);
    
TextDrawBackgroundColor(DaysOfWeek, 0x000000FF);
    
TextDrawFont(DaysOfWeek, 2);
    
TextDrawLetterSize(DaysOfWeek, 0.2999, 1.2);
    
TextDrawColor(DaysOfWeek, 0xFFFFFFFF);
    
TextDrawSetOutline(DaysOfWeek, 1);
    
TextDrawSetProportional(DaysOfWeek, true);
    
TextDrawSetShadow(DaysOfWeek, 1); 
PHP код:
Lotto1 = TextDrawCreate(334.000000, 281.000000, "~g~Daily Lottery Draw~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ");
    
TextDrawAlignment(Lotto1, 2);
    
TextDrawBackgroundColor(Lotto1, 255);
    
TextDrawFont(Lotto1, 3);
    
TextDrawLetterSize(Lotto1, 0.500000, 1.000000);
    
TextDrawColor(Lotto1, -1);
    
TextDrawSetOutline(Lotto1, 0);
    
TextDrawSetProportional(Lotto1, 1);
    
TextDrawSetShadow(Lotto1, 1);
    
TextDrawUseBox(Lotto1, 1);
    
TextDrawBoxColor(Lotto1, COLOR_CLEARBLUE);
    
TextDrawTextSize(Lotto1, 560.000000, 319.000000);
    
Lotto2 = TextDrawCreate(330.000000, 302.000000, "Todays Number ~p~64 ~w~Jackpot ~g~$6982345");
    
TextDrawAlignment(Lotto2, 2);
    
TextDrawBackgroundColor(Lotto2, 255);
    
TextDrawFont(Lotto2, 1);
    
TextDrawLetterSize(Lotto2, 0.300000, 0.899999);
    
TextDrawColor(Lotto2, -1);
    
TextDrawSetOutline(Lotto2, 0);
    
TextDrawSetProportional(Lotto2, 1);
    
TextDrawSetShadow(Lotto2, 1); 



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:15] Server Plugins
[16:26:15] --------------
[
16:26:15]  Loading plugin: sscanf.dll
[16:26:15] 
[
16:26:15]  ===============================
[
16:26:15]       sscanf plugin loaded.     
[
16:26:15]          Version:  2.8.1        
[16:26:15]    (c) 2012 Alex "******" Cole  
[16:26:15]  ===============================
[
16:26:15]   Loaded.
[
16:26:15]  Loading plugin: tde.dll
[16:26:15] 
TDEditor Plugin loaded, thank you for using.
[
16:26:15]   Loaded.
[
16:26:15]  Loaded 2 plugins.
[
16:26:15] 
[
16:26:15] Ban list
[
16:26:15] --------
[
16:26:15]  Loaded: samp.ban
[16:26:15] 
[
16:26:15] 
[
16:26:15] Filterscripts
[16:26:15] ---------------
[
16:26:15]   Loading filterscript 'tde.amx'...
[
16:26:15]   Loaded 1 filterscripts.
[
16:26:15] Loaded 3 vehicles from: vehicles/trains.txt
[16:26:15] Loaded 3 vehicles from: vehicles/pilots.txt
[16:26:15] Loaded 15 vehicles from: vehicles/lv_law.txt
[16:26:15] Loaded 39 vehicles from: vehicles/lv_airport.txt
[16:26:15] Loaded 255 vehicles from: vehicles/lv_gen.txt
[16:26:15] Loaded 38 vehicles from: vehicles/sf_law.txt
[16:26:15] Loaded 35 vehicles from: vehicles/sf_airport.txt
[16:26:15] Loaded 353 vehicles from: vehicles/sf_gen.txt
[16:26:15] Loaded 24 vehicles from: vehicles/ls_law.txt
[16:26:15] Loaded 37 vehicles from: vehicles/ls_airport.txt
[16:26:15] Loaded 98 vehicles from: vehicles/ls_gen_inner.txt
[16:26:15] Loaded 389 vehicles from: vehicles/ls_gen_outer.txt
[16:26:15] Loaded 71 vehicles from: vehicles/whetstone.txt
[16:26:15] Loaded 168 vehicles from: vehicles/bone.txt
[16:26:15] Loaded 61 vehicles from: vehicles/flint.txt
[16:26:15] Loaded 96 vehicles from: vehicles/tierra.txt
[16:26:15] Loaded 96 vehicles from: vehicles/red_county.txt
[16:26:15] Total vehicles from files: 1781
[16:26:15] 
---------------------------------------
[
16:26:15] Running Grand Larceny - by the SA-MP team
[16:26:15] ---------------------------------------
[
16:26:15] Number of vehicle models: 173
[16:27:20] [connection] 127.0.0.1:64577 requests connection cookie.
[
16:27:21] Incoming connection: 127.0.0.1:64577 id: 0
[16:27:21] [join] DARKNESS_258 has joined the server (0:127.0.0.1)
[
16:28:48] [part] DARKNESS_258 has left the server (0:1)