Help on colors calculation !!!
#1

To change a player transparency for a player we do this:

For visible:
SetPlayerMarkerForPlayer(i, playerid, (GetPlayerColor(playerid) | 0x000000FF));

And to hide him we use :
SetPlayerMarkerForPlayer(i, playerid, (GetPlayerColor(playerid) & 0xFFFFFF00));

My question is about the color calculation, those calculs allow to change Transparency without touching color, but how to change color without touching the transparency ??

Thanks !
Reply


Messages In This Thread
Help on colors calculation !!! - by FilesMAker - 12.09.2014, 08:48
Re: Help on colors calculation !!! - by Affan - 12.09.2014, 09:08
Re : Help on colors calculation !!! - by FilesMAker - 12.09.2014, 09:16

Forum Jump:


Users browsing this thread: 1 Guest(s)