Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP General Discussions How can i embed color in Textdraw?

 
  • 0 Vote(s) - 0 Average
How can i embed color in Textdraw?
Cada
Offline

Burgershot Member
Posts: 11
Threads: 2
Joined: Apr 2019
Reputation: 0
#1
2020-11-14, 07:59 AM
Hello.

I want to make Textdraw with couple of colors.
I know that i can make it like " Oh! ~r~Hello ~w~World" but i can`t " Oh! {FF0000}Hello {FFFFFF}World".
i want to embed hex color. can i do it?

Finally, i want to make textdraw based on gray, and make some color red.
Ex) {Gray}Oh!! Hey, {Red}How {Gray}are you?

Plz help me!!
Pinch
Offline

Burgershot Member
Posts: 391
Threads: 19
Joined: Apr 2019
Reputation: 22
Location: Belgrade, Serbia
#2
2020-11-14, 11:36 AM
You can't.

Only gametext colors are available
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
Freaksken
Offline

open.mp Developer

Posts: 80
Threads: 4
Joined: Feb 2019
Reputation: 6
Location: Belgium
#3
2020-11-15, 03:04 PM
Pretty sure someone made a library once that enabled RGB textdraw text colours.

Can't find it anymore unfortunately.
Always keep in mind that a lot of people are active on this forum in their spare time.
They are sacrificing time they could easily spend on things they would rather do, to help you instead.
Y_Less
Offline

Administrator

Posts: 323
Threads: 16
Joined: Feb 2019
Reputation: 90
#4
2020-11-15, 03:06 PM
https://github.com/On3d4y/TextDrawColour.inc
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode