Storing nametag colors in a database, always shows black
#1

Title.

0xCC3300FF = the nametag color in the database

How i load the color:
PHP код:
new nametag[80];
cache_get_field_content(0"Nametag"nametag);
myStrcpy(Player[playerid][Nametag], nametag);
SetPlayerColor(playeridPlayer[playerid][Nametag]); 
(if i use -1, it shows up as white, but any other color code it just shows black.
What's the problem here?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)