Post: Same Team Check
03-30-2017, 03:24 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I am having problems with the same team check for my esp. My esp is on friendly and enemy, but i only want it on enemy.

int clientInfo(int ID)
{
* *int Centity = *(int*)(0x7BD010);
* * return Centity + 0x1FE04C + (ID * 0x594);
}

bool SameTeam(int Client)
{
* * if (cstrcmp(Dvar_GetString("ui_gametype"), "dm") == 0)
* * {
* * * * return true;
* * }
* * else
* * {
* * * * *if ((int*)(clientInfo(Client) + 0x24) != (int*)(clientInfo(me) + 0x24))
* * * * {
* * * * * * return true;
* * * * }
* * * * else
* * * * {
* * * * * * return false;
* * * * }
* * }
}

if(!SameTeam(i))
{
* *if (Visibility(0, CEntity(i), 0x803003))
* * {
* * * * DrawBorderBox(&Centity_s, HeadPosition, FootPosition, gESP);
* * }
* * else
* * {
* * * *DrawBorderBox(&Centity_s, HeadPosition, FootPosition, rESP);
* * }
}
Last edited by UnholyTalonTSi ; 03-30-2017 at 06:34 PM.
03-30-2017, 04:11 PM #2
Can someone please help ?
03-31-2017, 05:05 PM #3
Wow. Onone can help me?
03-31-2017, 05:19 PM #4
google can help
03-31-2017, 05:54 PM #5
Originally posted by Link033 View Post
google can help


Really ? I have googled it. I research for days before i ask for help.
04-01-2017, 02:18 AM #6
Anyone Please !!!
04-02-2017, 04:59 AM #7
I will pay who ever can help me.
04-03-2017, 12:46 AM #8
Really no one will help. Thanks
04-03-2017, 02:52 AM #9
This forum is REALLY helpful right???


Looks like we need to sign up elsewhere to be able to get some help...

The following user thanked amazingnutz for this useful post:

UnholyTalonTSi
04-03-2017, 05:41 AM #10
Originally posted by amazingnutz View Post
This forum is REALLY helpful right???


Looks like we need to sign up elsewhere to be able to get some help...


Right, lol.
Last edited by UnholyTalonTSi ; 04-03-2017 at 05:45 AM.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo