Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > First-Person Shooters > Call of Duty Series > Call of Duty 4: Modern Warfare

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
Call of Duty 4: Modern Warfare
hacks cheats tutorials downloads source code
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

HeliEsp
Old 03-06-2010, 05:50 AM   #1
Level 3

pinki185's Avatar

Join Date: May 2007
Posts: 126
Reputation: 3775
Rep Power: 98
pinki185 is a legend in the cheating communitypinki185 is a legend in the cheating communitypinki185 is a legend in the cheating communitypinki185 is a legend in the cheating communitypinki185 is a legend in the cheating communitypinki185 is a legend in the cheating communitypinki185 is a legend in the cheating communitypinki185 is a legend in the cheating communitypinki185 is a legend in the cheating communitypinki185 is a legend in the cheating communitypinki185 is a legend in the cheating community
Points: 5,755, Level: 8
Points: 5,755, Level: 8 Points: 5,755, Level: 8 Points: 5,755, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
Talking HeliEsp

Code:
class CHelicopter
{
public:
    __int32 EntityNum; //0x0000  
    __int32 SnapShot; //0x0004  
    vec3_t vOrigin; //0x0008   
    __int32 Team; //0x0014  
};
Code:
CHelicopter* GetHeliByIndex(int iIndex)
{

    return (CHelicopter*)(HELI_BASE + HELI_SIZE * iIndex );
}
Code:


void HeliEsp()
{    
    float screenX, screenY;    

  
    for(int i = 0; i<8; i++)
    {
        
       
       
        CHelicopter* Heli = GetHeliByIndex( i );
        Ccentity_t* pEnt = c_Esp.GetEntityIndex( Heli->EntityNum );
        
        
        
        int MyTeam =cClientInfo[cg->clientNum].iTeam;
        
      
        float Distance = c_Math.GetDistance(ref->viewOrg,pEnt->Origin ) / 48.0f;
       
        if(! pEnt->alive)
            continue;

        bool bIsEnemy = ( Heli->Team  != MyTeam );
        
        if(c_Math.NewWorldToScreen( pEnt->Origin , &screenX, &screenY))
        {
            if((pEnt->type==TYPE_HELICOPTER)&&(pEnt->alive==257))
            {
                if ((UINT) xMenu.Items[ENTITYESP]->Value)
                {
                    if( bIsEnemy )
                    {
                        DrawString(screenX,screenY,Media.BoldFont,&tengRed,"Heli");
                        DrawString(screenX,screenY+15,Media.BoldFont,&tengRed,"%.0f%",Distance);
                    }
                    else 
                    {
                        DrawString(screenX,screenY,Media.BoldFont,&tengBlue,"Heli");
                        DrawString(screenX,screenY+15,Media.BoldFont,&tengBlue,"%.0f%",Distance);
                    }
        
                }
            }
        }
    }
}
u have to find the Heli_base and Size look into cg_init for it hint..


credits to cardoow for his dog Esp



__________________



Can you inject .rar files into the game? If possible, how?
pinki185 is online now

Reply With Quote

Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
esp, heli, heliesp
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 07:37 AM.