Posts: 534
Threads: 265
Joined: Jul 2014
Hi,
I set SetPlayerMarkerForPlayer and i use color GetPlayerColor, but i need to make that GetPlayerColor lighter.
Posts: 534
Threads: 265
Joined: Jul 2014
Yes, but how use it in GetPlayerColor function?
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Transparency only works for radar blips (markers) - not player colours (chat, scoreboard and nametags).
You can make it lighter though.
Posts: 534
Threads: 265
Joined: Jul 2014
But that using possible?
SetPlayerMarkerForPlayer( 42, 1, ( GetPlayerColor( 1 ) | 0x000000FF ) );
What mean | and & ? because there is
SetPlayerMarkerForPlayer( 42, 1, ( GetPlayerColor( 1 ) & 0xFFFFFF00 ) );
If i write 0xFFFFFF55 it makes transparent 55 ?
Posts: 534
Threads: 265
Joined: Jul 2014
Hm.. I don't understand what they mean in my given codes.