![]() |
Text Image color not changing?
I have a NPC that is created that joins a class. The script is suppose to draw a number but for some reason it comes out a light blue no matter what I set the color values to.
PHP Code:
|
I'm amazed it's actually light blue and not white. You have 10 for red, green, blue and alpha. First off, all of the four values range between 0 and 1. And to get something that's not white/gray, you probably want to choose different values.
|
Quote:
PHP Code:
|
Quote:
PHP Code:
Also a small tip if you want to use RGB values for you colors: you can do divide the RGB value with 255 which will always make it <= 1. As example: PHP Code:
|
OOOOH thank you. I got it now.
But I am still running into one issue. the layer=# is NOT working for some reason :[ |
You can do either
PHP Code:
PHP Code:
|
Use an image index >200 in this case.
|
Quote:
|
| All times are GMT +2. The time now is 07:00 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.