07.12.2014, 11:41
Quote:
Please can complete code
I want players hidden map (Marker) |
pawn Код:
//example, blue
SetPlayerColor(playerid,0x0000FF00);
it's RGBA
Red
Green
Blue
Alpha
also, if you hppen to save the color in the players account file,
you could get that color and bitwise AND it with the negation of 255(0xFF) to keep it for the chat
and still be invincible on the map.
like this, 0x0000FFFF (blue,visible) will become 0x0000FF00 (blue, invincible)
pawn Код:
SetPlayerColor(playerid,(savedColor & ~0xFF));