Marker has always transparency
#1

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
Reply
#2

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

It shows you how to turn their markers invisible
Reply
#3

Yes, it worked. Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)