Posts: 970
Threads: 16
Joined: Aug 2009
Reputation:
0
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.
Posts: 970
Threads: 16
Joined: Aug 2009
Reputation:
0
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?
Posts: 1,059
Threads: 86
Joined: Sep 2010
Reputation:
0
Sorry, I just saw the edited part in your last post.
Let's see the LowerFuel timer.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
You may have to hide the textdraw and re-show it for changes to take effect.