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.5999751.500000"usebox");
    
TextDrawLetterSize(Textdraw00.00000013.455184);
    
TextDrawTextSize(Textdraw0, -2.0000000.000000);
    
TextDrawAlignment(Textdraw01);
    
TextDrawColor(Textdraw00);
    
TextDrawUseBox(Textdraw0true);
    
TextDrawBoxColor(Textdraw0102);
    
TextDrawSetShadow(Textdraw00);
    
TextDrawSetOutline(Textdraw00);
    
TextDrawFont(Textdraw00);
    
Textdraw1 TextDrawCreate(642.400024269.304412"usebox");
    
TextDrawLetterSize(Textdraw10.00000019.589492);
    
TextDrawTextSize(Textdraw1, -5.1999980.000000);
    
TextDrawAlignment(Textdraw11);
    
TextDrawColor(Textdraw10);
    
TextDrawUseBox(Textdraw1true);
    
TextDrawBoxColor(Textdraw1102);
    
TextDrawSetShadow(Textdraw10);
    
TextDrawSetOutline(Textdraw10);
    
TextDrawFont(Textdraw10); 
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.