Color doesn't show up
Closed this issue · 1 comments
Fairuz-Afdhal commented
If you apply a color (y, or g, etc) the textdraw would still be white
sanpezlo commented
I'm not in samp right now, but try using #define TDN_COLOR COLOR
or use ~g~
in const reason[]`.
example:
#define MAX_TDN 4
#define TDN_POS_X 497.000000
#define TDN_POS_Y 130.000000
#define TDN_FONT 1
#define TDN_LETTER_SIZE_X 0.250000
#define TDN_LETTER_SIZE_Y 1.000000
#define TDN_SIZE 112.000000
#define TDN_COLOR 0xFFFFFFFF
#define TDN_COLOR_BOX 0x000000FF
#define TDN_PROPORTIONAL 1
#define TDN_DISTANCE 5
#define TDN_MODE_DOWN
#define TDN_TIME 20000
#define MAX_TDN_TEXT 800
#include <td-notification>
ShowTDN(1, "hello ~g~Fairuz");
the second way I don't remember if I pushed the changes, it may work or not
I hope you find it useful