SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 03/06/2018, 12:26 PM   #11
GTLS
Gangsta
 
GTLS's Avatar
 
Join Date: Aug 2014
Location: India
Posts: 827
Reputation: 91
Default Re: Coloured Text Draws

Quote:
Originally Posted by almiighty View Post
are you dumb?

No. You can use ~g~ and ~r~ for colours, but not {00FF00} and {FF0000}. This: "{00FF00}Hello" becomes "?00FF00$Hello" and black before.
Do you even know the difference of a textdraw and a GameText?

and from your language it looks like you are dumb.
__________________

I don't help for rep. I help cuz I was helped in the past.


California State Roleplay - X Update Now under beta testing phase. Stay Tuned.
GTLS is offline   Reply With Quote
Old 03/06/2018, 12:31 PM   #12
almiighty
Banned
 
Join Date: May 2018
Posts: 13
Reputation: 0
Default Re: Coloured Text Draws

Quote:
Originally Posted by GTLS View Post
Do you even know the difference of a textdraw and a GameText?

and from your language it looks like you are dumb.
of course i do, where do you see this include uses gametexts?
almiighty is offline   Reply With Quote
Old 03/06/2018, 12:38 PM   #13
Lokii
Huge Clucker
 
Join Date: Sep 2017
Posts: 282
Reputation: 72
Default Re: Coloured Text Draws

Quote:
Originally Posted by GTLS View Post
Wait, I thought textdraws and GameText are different. I think they probably work on same logic but to be clear, This thread would be called Custom Colored GameText not textdraws as Textdraws already uses RGB format while GameText dont.
they do support

but only like this:
PHP Code:
TextDrawColor(td0xFFFFFFFF); 
not like this
PHP Code:
TextDrawCreate(10.010.0"{FFFFFF}BlaBla"); 
Lokii is offline   Reply With Quote
Old 03/06/2018, 01:36 PM   #14
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 15,127
Reputation: 3170
Default Re: Coloured Text Draws

Apparently 0.3.7-DL has embedded colours in text draws, but earlier versions definately didn't. So at the very least this back-ports them, which is very nice.
Y_Less is online now   Reply With Quote
Old 03/06/2018, 01:38 PM   #15
J0sh...
High-roller
 
J0sh...'s Avatar
 
Join Date: Aug 2014
Location: Hamburger
Posts: 1,295
Reputation: 401
Default Re: Coloured Text Draws

Quote:
Originally Posted by Y_Less View Post
Apparently 0.3.7-DL has embedded colours in text draws, but earlier versions definately didn't. So at the very least this back-ports them, which is very nice.
If you're talking about the normal colour embeds {xxxxxx} then no, they still are not used in textdraws. However, there was a planned custom "font" textdraw (in 0.3.DL) that possibly would have utilized this but never happened.
__________________
🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔
Yes I know my name has 3 dots.
Thanks for noticing, it was meant to signify a pause in the personal message asking to be named J0sh but they got included.
J0sh... is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text Draws !! rockhopper Scripting Help 4 08/05/2014 03:28 PM
Text-Draws Help. Youice Scripting Help 0 30/05/2012 08:44 AM
[Include] Coloured Chat Text [2 Versions] RyDeR` Includes 57 24/08/2011 11:29 AM
how do i get coloured text in the middle of sentences Deal-or-die Help Archive 8 23/03/2011 10:03 PM
Text Draws Geekzor Help Archive 6 09/08/2009 12:17 PM


All times are GMT. The time now is 07:42 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.