Open chaitanyathengdi opened 3 years ago
@user-grinch Any idea about this?
Works for me
Okay, still not working for me after fixing #104 :(
@DK22Pac Any way of setting color without using the CRGBA
class?
I'm thinking that is the issue, and I want to check.
You can set It as an integer number. Consider using hex notation. If you need white, for example, use 0xFFFFFFFF.
Ah okay, I did see a method that used an integer as input, but wasn't sure how I'd use it. I'll try that and report back. BTW, is it the way I'm imagining? the first six FF's for color and last two for alpha?
Yes, exactly.
@MGRCreek No dice :(
It's as if the color is transparent or something.
This is strange,,, Try to edit the content of the variable m_Color in CFont class. I don't think it will solve your problem, but you can try,
Replace your commented line with this
*CFont::m_Color = CRGBA(255, 255, 255);
@MGRCreek Wouldn't you know it, that actually worked!
Glad to hear that!
@MGRCreek Well, I'm going to keep the issue open regardless since it's still there - SetColor doesn't work.
I guess you can make headshot accuracy aswell
Game: GTA San Andreas 1.0 (HOODLUM)
I'm using Cleo 4.4 as an ASI loader and have the following code to show the user's health:
As you can see, line 10 is currently commented out. If I uncomment it, I can't see the string of the user's health percentage anymore.
Commented out:![image](https://user-images.githubusercontent.com/14993220/100476920-e2d65d00-310c-11eb-8e9b-74fb3a8d12dc.png)
Uncommented:![image](https://user-images.githubusercontent.com/14993220/100477086-6001d200-310d-11eb-8534-8db2f8de1011.png)
Why would this happen? I'm using CodeBlocks to build the ASI plugins.