TextDrawColor
#1

Hey people, I was wondering, can I change a TextDrawColor later on, after I created it? Or it's possible just right after you created it? Thanks.

ps: Just realised I should've posted this question in Little coding questions - For general minor queries 5 topic. Sorry about that.
Reply
#2

https://sampwiki.blast.hk/wiki/GameTextStyle

The text colors will also work in textdraw.
Reply
#3

Quote:
Originally Posted by grand.Theft.Otto
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/GameTextStyle

The text colors will also work in textdraw.
Still, that didn't answer my question. I tried to change a textdraw color, in different colors but didn't work. Am I doing something wrong or it's this impossible?

ps: Well, silly me, that kinda solved my problem ... But still, let's say I want a different color? How should I go with it?
Reply
#4

Quote:
Originally Posted by antonio112
Посмотреть сообщение
Still, that didn't answer my question. I tried to change a textdraw color, in different colors but didn't work. Am I doing something wrong or it's this impossible?

ps: Well, silly me, that kinda solved my problem ... But still, let's say I want a different color? How should I go with it?
What do you mean ?
Reply
#5

Well, let's say I have a fuel system based on TextDraw, right?

When my fuel reaches 20 or lower, I want its color to change to red. I tried it using TextDrawColor function in my "LowerFuel" timer ... but didn't work. So, TextDrawColor function only works right after I used TextDrawCreate function or I can use it at any time and I did something wrong in my "LowerFuel" timer?
Reply
#6

Sorry, I just saw the edited part in your last post.

Let's see the LowerFuel timer.
Reply
#7

You may have to hide the textdraw and re-show it for changes to take effect.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)