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



Textdraw help - DarknesS1988 - 20.09.2017

This is how I have:


And this is how I want:


What i need to change to get that (SEE THE DIFFRENCE BETWEEN TEXTS///color in text and color out text) GameText is the same but i can't figure out colors

My code:

PHP код:
AdminAnnouncement TextDrawCreate(319.000000181.000000" ");
    
TextDrawAlignment(AdminAnnouncement2);
    
TextDrawBackgroundColor(AdminAnnouncement255);
    
TextDrawFont(AdminAnnouncement3);
    
TextDrawLetterSize(AdminAnnouncement1.0999992.499999);
    
TextDrawColor(AdminAnnouncement, -1);
    
TextDrawSetOutline(AdminAnnouncement0);
    
TextDrawSetProportional(AdminAnnouncement1);
    
TextDrawSetShadow(AdminAnnouncement1); 
Thanks in advance!


Re: Textdraw help - kAn3 - 20.09.2017

You need to set a Outline with 1 value.


Re: Textdraw help - Meller - 20.09.2017

Set the outline to true, but; also set the outline size to 1.


Re: Textdraw help - Fungi - 20.09.2017

also use this to change outline color
TextDrawBackgroundColor(AdminAnnouncement, 0x000000FF);


Re: Textdraw help - DarknesS1988 - 20.09.2017

Thanks, you really helped me alot! I was trying to find out how to put that background color with samp wiki but they complicated it totally...