Team check

Posts 1–3 of 3 · Page 1 of 1
Team check
Basically the user has the choice to draw esp on both teams or only the enemy team. It is achieved by simple if check:
Code:
if (pLocal->GetTeam() == pBase->GetTeam())
continue;
but the problem that I'm facing is that if it is enabled, it works globally. For example: if the team check is enabled, spectator list stops working completely no output from CT or T when spectating me although ESP works, but in theory it should still work for spectators as the check is working by simply looping through all entities and then being filtered into enemy and local team and drawing and doing stuff accordingly. Or have I misunderstood something?

Thanks.
then why do you put it in your spectator list loop, i dont get it
Quote Originally Posted by certmemer View Post
then why do you put it in your spectator list loop, i dont get it
yeah I realized it like 10 mins after I posted the thread, long ago fixed. can be closed
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us