16.09.2017, 11:14
Try using this calculator for decimal to hex
Put it on top of your script for global use.
Here
%0 - RR
%1 - GG
%2 - BB
%3 - AA
Please check the parenthesis once more.
The use is like
Quote:
#define COL(%0,%1,%2,%3) (((%0 << 24)&0xFF000000) + ((%1<<16)&0xFF0000) + ((%2<< 8 )&0xFF00) + (%3)) |
Here
%0 - RR
%1 - GG
%2 - BB
%3 - AA
Please check the parenthesis once more.
The use is like
Quote:
SendClientMessage(playerid,COL(255,255,255,255),"T his text is white"); |