Posts: 737
Threads: 338
Joined: Jan 2013
Hi,
#define COLOR_GREY 0x808080AA
Code:
SetPlayerColor( playerid, COLOR_GREY);
new i;
foreach(i : Player)
{
SetPlayerMarkerForPlayer(i, playerid, 0xFFFFFF00 );
}
Player marker color is white.. And he self is white. How it'is possible?
Posts: 8
Threads: 2
Joined: Jun 2011
Reputation:
0
0xFFFFFF is white in hex code.
Also make sure you use the right alpha value
0xFFFFFF00
instead of 00 put FF for full opacity
Posts: 737
Threads: 338
Joined: Jan 2013
I want to do player color will be grey, but his marker will be not see
Posts: 152
Threads: 2
Joined: Nov 2013
Reputation:
0
Then try change 0x808080AA to 0x808080FF
Posts: 8
Threads: 2
Joined: Jun 2011
Reputation:
0
#define COLOR_GREY 0x808080FF
Posts: 737
Threads: 338
Joined: Jan 2013
I test with SendClientMessage
0xFFFFFF00
Here is not color which player can not seen it'is just white color...
0xFFFFFFFF
too
0x00000000
too
Posts: 152
Threads: 2
Joined: Nov 2013
Reputation:
0
Why you dont try copy my code and test it?
Okay, try this one then 0x7F7F7FAA, believe that hex color work correctly in my system
Posts: 737
Threads: 338
Joined: Jan 2013
I can't now test with more players, but say how your script works. Does it set player color to grey? but marker will gone?
Posts: 152
Threads: 2
Joined: Nov 2013
Reputation:
0
Are you try add grey color to both?
Posts: 737
Threads: 338
Joined: Jan 2013
No, i can't to test it with other persons now.
Posts: 737
Threads: 338
Joined: Jan 2013
Posts: 449
Threads: 20
Joined: Mar 2012
Reputation:
0
Did you test it with someone else ? Because if you are the only one on the server the color will always look white although it is not.
Posts: 737
Threads: 338
Joined: Jan 2013
SetPlayerMarkerForPlayer i try all colors but i can't to get that color where is unable to see, even if you make color with 00 trans still color is in same.
Posts: 449
Threads: 20
Joined: Mar 2012
Reputation:
0
Answer my question. Did you test this with MORE persons on the server?
Posts: 737
Threads: 338
Joined: Jan 2013