SA-MP Forums Archive
Marker has always transparency - 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: Marker has always transparency (/showthread.php?tid=456214)



Marker has always transparency - FiReAlEx - 04.08.2013

I've done this script to don't let the teams to see the opposite teams on the map, but the markers are a little bit visible, like i didn't 00 in the Alpha value, but 33. Here's the code:
Code:
    for(new i; i < MAX_PLAYERS; i++){
   	if(gTeam[i] == Attack && gTeam[playerid] == Defense){
    SetPlayerMarkerForPlayer(playerid, i, 0xFF000000);
    SetPlayerMarkerForPlayer(i, playerid, 0x00FFFF00);}}
Thanks


Re: Marker has always transparency - -Prodigy- - 05.08.2013

Check this out: https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer

It shows you how to turn their markers invisible


Re: Marker has always transparency - FiReAlEx - 05.08.2013

Yes, it worked. Thanks