SA-MP Forums Archive
Icons in map - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Icons in map (/showthread.php?tid=491237)



Icons in map - FaZeRs - 29.01.2014

Can someone say how to remove those icons in map?

Like you can see in your minimap that there is admin, and there would be green quad, or cop and you would see blue quad.

With regards,
FaZeRs.


Re: Icons in map - AlonzoTorres - 29.01.2014

With quad I guess you mean square? Then use this.

Quote:

(playerid, showplayerid, color)
playerid The player that will see the player's changed blip/nametag color
showplayerid The player whose color will be changed
color New color. Set the alpha to 00 for an invisible blip.
Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    SetPlayerMarkerForPlayer(i, playerid, ( GetPlayerColor(playerid) & 0xFFFFFF00 ) );
}
That will set the playerid's blip/quad/square to be invisible for all the players (i) in the server. Feel free to give me a rep and comment back here if it worked.


Re: Icons in map - FaZeRs - 30.01.2014

THanks. I didn't need to add them but remove