25.04.2014, 14:56
Okay, but read my post again. You try to set the color as hex by retrieving the colour which returns a readable number. Hex is a number as well so it's like you do this:
which I don't see any reason for it.
With sscanf, you can use "x" specifier.
pawn Код:
SetPlayerColor(playerid, GetPlayerColor(playerid));
With sscanf, you can use "x" specifier.
pawn Код:
new
colour;
sscanf("0x00FF00FF", "x", colour); // the first argument can be a string you declared.