07.10.2018, 07:47
Quote:
when I don't want them to see where I am- I just use the command.
|
Suggestion: a player can toggle it only for themselves.
False. Alpha value (the last 2 characters) is what matters. 00 is invisible and FF is full opaque.
Suggestion: keep the current random color for each player and just alter the alpha of color.
A nice function can be found here: http://forum.sa-mp.com/showpost.php?...postcount=4319
It returns the new color:
pawn Code:
// visible with current color
SetPlayerMarkerVisibility(playerid, 0xFF);
// invisible with current color
SetPlayerMarkerVisibility(playerid, 0x00);