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: 817
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
Little Clucker
 
Join Date: May 2018
Posts: 9
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: 213
Reputation: 69
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
Spam Machine
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 14,899
Reputation: 3126
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
Freshncool
High-roller
 
Freshncool's Avatar
 
Join Date: Aug 2014
Location: Kingdom of Pakistan Reputation: 9999
Posts: 1,222
Reputation: 348
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.
__________________
🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔
Freshncool is offline   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 01:32 AM.


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