PS3 I Will Pay For Sprx Coding Help

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.
Apr 23, 2014
6
0
61
I am having problems with the same team check for my esp in MW3. 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:
General chit-chat
Help Users
    Chat Bot: astrocar2 has posted a new reply in the thread "Giveaways for everyone!".