13.06.2013, 18:56
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
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.
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 } }
Thanks for your time.