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
High-roller
 
GTLS's Avatar
 
Join Date: Aug 2014
Location: India
Posts: 1,072
Reputation: 119
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.


Retired from SAMP Scene. Might open SAMP Forums once in a while.

Some treats for ya. Click em
Basic House System
Simple Speedo
Base Login/Register Script

GTLS is offline   Reply With Quote
Old 03/06/2018, 12:31 PM   #12
almiighty
Banned
 
Join Date: May 2018
Posts: 5
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: 375
Reputation: 92
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:38 PM   #14
J0sh...
Banned
 
Join Date: Aug 2014
Location: Hamburger
Posts: 1,276
Reputation: 461
Default Re: Coloured Text Draws

Quote:
Originally Posted by ****** 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.
J0sh... is offline   Reply With Quote
Old 02/05/2020, 03:35 AM   #15
JesusChrysler
Big Clucker
 
Join Date: Nov 2014
Posts: 54
Reputation: 23
Default Re: Coloured Text Draws

Does this still work? I've personally had a hard time getting this to work.
JesusChrysler is offline   Reply With Quote
Old 02/05/2020, 03:29 PM   #16
OneDay
Huge Clucker
 
Join Date: Sep 2015
Posts: 294
Reputation: 139
Default Re: Coloured Text Draws

Yes, can you write your code here?
OneDay is offline   Reply With Quote
Old 02/05/2020, 05:45 PM   #17
JesusChrysler
Big Clucker
 
Join Date: Nov 2014
Posts: 54
Reputation: 23
Default Re: Coloured Text Draws

Quote:
Originally Posted by OneDay View Post
Yes, can you write your code here?
Code:
\gamemodes\include\YSI\y_iterate.inc(73) : fatal error 111: user error: Use `#include <YSI_Data\y_iterate>`
I have the latest version of YSI. Do you know what's wrong?
JesusChrysler is offline   Reply With Quote
Old 02/05/2020, 11:28 PM   #18
ZachKnoxx
Huge Clucker
 
Join Date: Oct 2013
Location: Canada
Posts: 205
Reputation: 118
Default Re: Coloured Text Draws

Quote:
Originally Posted by JesusChrysler View Post
Code:
\gamemodes\include\YSI\y_iterate.inc(73) : fatal error 111: user error: Use `#include <YSI_Data\y_iterate>`
I have the latest version of YSI. Do you know what's wrong?
I used an older version of YSI I had on my pc and it worked, although I don't know what specific version of YSI this include uses.
ZachKnoxx 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 52 24/08/2011 11:21 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 05:13 PM.


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