GetPlayerColor >>> 8 returns 4 character instead of 6 sometimes
#1

Hello,

I'm using a system that includes users color in client messages. But some colors do not work very well. Example:

pawn Код:
printf("{%x}", 0x008000FF >>> 8); // returns {0080} which is NOT right, should return {008000}
printf("{%x}", 0xFF9900FF >>> 8); // returns {FF9900} which is right
Please do help me with the situation.
Reply
#2

pawn Код:
{%06x}
Reply
#3

Quote:
Originally Posted by Catalyst-
Посмотреть сообщение
pawn Код:
{%06x}
Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)