SA-MP Forums Archive
Textdraw question - 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: Textdraw question (/showthread.php?tid=637025)



Textdraw question - 1fret - 07.07.2017

how can i remove the shadow at the back of the text?




Re: Textdraw question - Freedom. - 07.07.2017

Should be change like this:

Код:
TextDrawSetShadow(YOUR_TEXT_NAME, 0);



Re: Textdraw question - 1fret - 07.07.2017

Quote:
Originally Posted by Freedom.
Посмотреть сообщение
Should be change like this:

Код:
TextDrawSetShadow(YOUR_TEXT_NAME, 0);
PHP код:
TextDrawSetShadow(VNAME[playerid], 0);//dont mind the different names 
I already added that have it but it doesn't do a thing.

PHP код:
    SPEEDOS[playerid] = TextDrawCreate(49.0,321.0,"~g~Speed: ~w~km/h ");
       
TextDrawFont(SPEEDOS[playerid], 1);
       
TextDrawLetterSize(SPEEDOS[playerid],  0.1900000.93000);
    
TextDrawColor(SPEEDOS[playerid], -1);
    
TextDrawShowForPlayer(playerid,SPEEDOS[playerid]);
       
TextDrawBackgroundColor(SPEEDOS[playerid], 255);
       
TextDrawSetShadow(SPEEDOS[playerid], 0);
    
TextDrawSetOutline(SPEEDOS[playerid], 1); 



Re: Textdraw question - Freedom. - 07.07.2017

Are you sure? I tested your code and this is the result.




Re: Textdraw question - 1fret - 07.07.2017

Quote:
Originally Posted by Freedom.
Посмотреть сообщение
Are you sure? I tested your code and this is the result.

Mhmm , cause i was wondering how the hell it aint working mate, maybe it is the type of font i change my game to or something , but anyways i'll let someone else test it as well and send me the ss ,thanks for your time ...
rep++