SA-MP Forums Archive
Not working 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: Not working textdraws (/showthread.php?tid=594042)



Not working textdraws - mindlessz0mbi3 - 13.11.2015

So I've been scripting for some time and I have no idea why this wouldn't be working..

// DEFINES
PHP код:
//text draws global
new Text:Textdraw0;
new 
Text:Textdraw1;
new 
Text:Textdraw2;
new 
Text:Textdraw3; 
ONGameModeinit
PHP код:
    Textdraw0 = TextDrawCreate(641.599975, 1.500000, "usebox");
    
TextDrawLetterSize(Textdraw0, 0.000000, 13.455184);
    
TextDrawTextSize(Textdraw0, -2.000000, 0.000000);
    
TextDrawAlignment(Textdraw0, 1);
    
TextDrawColor(Textdraw0, 0);
    
TextDrawUseBox(Textdraw0, true);
    
TextDrawBoxColor(Textdraw0, 102);
    
TextDrawSetShadow(Textdraw0, 0);
    
TextDrawSetOutline(Textdraw0, 0);
    
TextDrawFont(Textdraw0, 0);
    
Textdraw1 = TextDrawCreate(642.400024, 269.304412, "usebox");
    
TextDrawLetterSize(Textdraw1, 0.000000, 19.589492);
    
TextDrawTextSize(Textdraw1, -5.199998, 0.000000);
    
TextDrawAlignment(Textdraw1, 1);
    
TextDrawColor(Textdraw1, 0);
    
TextDrawUseBox(Textdraw1, true);
    
TextDrawBoxColor(Textdraw1, 102);
    
TextDrawSetShadow(Textdraw1, 0);
    
TextDrawSetOutline(Textdraw1, 0);
    
TextDrawFont(Textdraw1, 0); 
any Ideas please <3


Re: Not working textdraws - Jastak - 13.11.2015

Where Do You show the textdrawn?


Re: Not working textdraws - mindlessz0mbi3 - 13.11.2015

Never mind, I fixed it. I don't know how, just recompiled and rewrote displaying of the textdraws.