[FilterScript] Toggle minimap markers on/off.(First Filterscript)
#8

Quote:
Originally Posted by XpoZzA
View Post
when I don't want them to see where I am- I just use the command.
There is no restriction, any player can use the command to toggle it for everyone on the server.

Suggestion: a player can toggle it only for themselves.

Quote:
Originally Posted by XpoZzA
View Post
For who does not know, white colour = invisible on the radar.
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);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)