Players visibility
#1

Hi all,
After making a class system that includes sniper class, i wanted to make it invisible on map.
So i just set alpha channel on player colors to 00, but i'm pretty sure that it will make this class invisible for the whole team.
I know that i can use foreach include and use it like that

Code:
foreach(Player, i)
{     
     if(gTeam[playerid] != gTeam[i])
     {
	//SetPlayerColor & 00 in alpha channel...etc
     }    
}
But is it the only way? because i already saw some filterscripts that has an invisible class (there's no team variables).

Thanks for your time.
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer

Make it with FF for teammates, and 00 for enemies.
Reply
#3

Ah, thanks a lot
i have searched for that a lot but i finally found it
that really helped.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)