Try it:Quote:
help
esp I see in the corner
[Only registered and activated users can see links. Click Here To Register...]
struct CPlayer
{
CHAR Hepe1[72];//0xC448
BYTE Index;//0xC490
CHAR Hepe2[4];//0x1019C
FLOAT Pitch;//0x101A0
CHAR Hepe3[24];//0x101A4
FLOAT Yaw;//0x101BC
CHAR Hepe4[12];//0x101C0
FLOAT ViewX;//0x101CC
FLOAT ViewY;//0x101D0
FLOAT ViewZ;//0x101D4
CHAR Hepe6[20];//0x101EA
FLOAT PosX;//0x102F8
CHAR Hepe7[4];//0x102FC
FLOAT PosZ;//0x10300
CHAR Hepe8[4];//0x10304
FLOAT PosY;//0x10308
};
Help :(
Code:
Cyno->AddFolder(Crypt("ESP"),CV_SHOWHIDE,&_Folder_Esp,2);
if(_Folder_Esp)
{
Cyno->AddItem(Crypt("ESP"),CV_ONOFF,&_Item_EspOnOff,2);
Cyno->AddItem(Crypt("Enemy Only"),CV_ONOFF,&_Item_EspEnemysOnly,2);
Cyno->AddItem(Crypt("Name"),CV_ONOFF,&_Item_NameEsp,2);
Cyno->AddItem(Crypt("Ping"),CV_ONOFF,&_Item_PingEsp,2);
Cyno->AddItem(Crypt("IP"),CV_ONOFF,&_Item_IpEsp,2);
Cyno->AddItem(Crypt("Premium"),CV_ONOFF,&_Item_PremiumEsp,2);
Cyno->AddItem(Crypt("Health"),CV_ONOFF,&_Item_HealthEsp,2);
Cyno->AddItem(Crypt("Kills"),CV_ONOFF,&_Item_KillsEsp,2);
Cyno->AddItem(Crypt("Death"),CV_ONOFF,&_Item_DeathEsp,2);
Cyno->AddItem(Crypt("Team"),CV_ONOFF,&_Item_FlagsEsp,2);
Cyno->AddItem(Crypt("Class"),CV_ONOFF,&_Item_TeamEsp,2);
Cyno->AddItem(Crypt("Flags"),CV_ONOFF,&_Item_ClassEsp,2);
//Code: ESP
if(_Item_EspOnOff)
{
DWORD dwPlayerPtr = *(DWORD*)Player;
if ( dwPlayerPtr != 0 )
{
for (INT MaxPlayer = 0; MaxPlayer < 32; MaxPlayer++)
{
D3DXVECTOR3 PlayerView(p_Player->pGlobal[MaxPlayer]->ViewX,p_Player->pGlobal[MaxPlayer]->ViewY,p_Player->pGlobal[MaxPlayer]->ViewZ),EspView;
if(GetScreenCoordFromWorld(pDevice,EspView,PlayerView))
{
if ( GetGlobalInfo(MaxPlayer)->Health > 0 )
{
if(_Item_EspEnemysOnly)
{
if ( p_Player->pGlobal[MaxPlayer]->ViewX != 0 && p_Player->pGlobal[MaxPlayer]->ViewZ != 0 )
{
if(IsAnEnemy(MaxPlayer))
{
if ( _Item_NameEsp )
{
char chTeam[100];
sprintf(chTeam,"Name :%s",GetGlobalInfo(MaxPlayer)->Name);
if(GetGlobalInfo(GetLocalInfo())->Team != GetGlobalInfo(MaxPlayer)->Team)
Cyno->DrawTextR(EspView.x,(EspView.y-100),aRed,chTeam,_FontDevice);
else
Cyno->DrawTextR(EspView.x,(EspView.y-100),aGreen,chTeam,_FontDevice);
EspView.y += 12;
}
if ( _Item_TeamEsp )
{
char chTeam[100];
if ( GetGlobalInfo(MaxPlayer)->Team == 1 )
sprintf(chTeam,"Team :NIU");
else if ( GetGlobalInfo(MaxPlayer)->Team == 0 )
sprintf(chTeam,"Team :DERBERAN");
Cyno->DrawTextR(EspView.x,(EspView.y-100),aYellow,chTeam,_FontDevice);
EspView.y += 12;
}
if ( _Item_PremiumEsp )
{
char chPremium[100];
if ( GetGlobalInfo(MaxPlayer)->Premium == 0 )
sprintf(chPremium,"Premium :None");
else if ( GetGlobalInfo(MaxPlayer)->Premium == 1 )
sprintf(chPremium,"Premium :Bronce");
else if ( GetGlobalInfo(MaxPlayer)->Premium == 2 )
sprintf(chPremium,"Premium :Silver");
else if ( GetGlobalInfo(MaxPlayer)->Premium == 3 )
sprintf(chPremium,"Premium :Gold");
else if ( GetGlobalInfo(MaxPlayer)->Premium == 4 )
sprintf(chPremium,"Premium :Platinum");
Cyno->DrawTextR(EspView.x,(EspView.y-100),aBlue,chPremium,_FontDevice);
EspView.y += 12;
}
if ( _Item_HealthEsp )
{
char chHealth[100];
sprintf(chHealth,"Health :%d ",GetGlobalInfo(MaxPlayer)->Health/10);
Cyno->DrawTextR(EspView.x,(EspView.y-100),aRed,chHealth,_FontDevice);
EspView.y += 12;
}
if ( _Item_PingEsp )
{
char chPing[100];
sprintf(chPing,"Ping :%i",GetGlobalInfo(MaxPlayer)->Ping);
Cyno->DrawTextR(EspView.x,(EspView.y-100),aWhite,chPing,_FontDevice);
EspView.y += 12;
}
if ( _Item_IpEsp )
{
char chIp[100];
sprintf(chIp,"Ip :%s",GetGlobalInfo(MaxPlayer)->Ip);
Cyno->DrawTextR(EspView.x,(EspView.y-100),aCyan,chIp,_FontDevice);
EspView.y += 12;
}
if ( _Item_FlagsEsp )
{
char chFlags[100];
sprintf(chFlags,"Flag :%i",GetGlobalInfo(MaxPlayer)->Flags);
Cyno->DrawTextR(EspView.x,(EspView.y-100),aOrange,chFlags,_FontDevice);
EspView.y += 12;
}
if ( _Item_KillsEsp )
{
char chKills[100];
sprintf(chKills,"Kills :%i",GetGlobalInfo(MaxPlayer)->Kills);
Cyno->DrawTextR(EspView.x,(EspView.y-100),aPurple,chKills,_FontDevice);
EspView.y += 12;
}
if ( _Item_DeathEsp )
{
char chDeaths[100];
sprintf(chDeaths,"Deaths :%i",GetGlobalInfo(MaxPlayer)->Deaths);
Cyno->DrawTextR(EspView.x,(EspView.y-100),aPurple,chDeaths,_FontDevice);
EspView.y += 12;
}
if ( _Item_ClassEsp )
{
char chClass[100];
switch ( GetGlobalInfo(MaxPlayer)->Class )
{
case 0: sprintf(chClass,"Class :ENGINER"); break;
case 1: sprintf(chClass,"Class :MEDIC"); break;
case 2: sprintf(chClass,"Class :SNIPER"); break;
case 3: sprintf(chClass,"Class :ASSAULT"); break;
case 4: sprintf(chClass,"Class :TROOPER"); break;
}
Cyno->DrawTextR(EspView.x,(EspView.y-100),aPink,chClass,_FontDevice);
EspView.y += 12;
}
}
}}
else
{
if ( p_Player->pGlobal[MaxPlayer]->ViewX != 0 && p_Player->pGlobal[MaxPlayer]->ViewZ != 0 )
{
if ( _Item_NameEsp )
{
char chTeam[100];
sprintf(chTeam,"Name :%s",GetGlobalInfo(MaxPlayer)->Name);
if(GetGlobalInfo(GetLocalInfo())->Team != GetGlobalInfo(MaxPlayer)->Team)
Cyno->DrawTextR(EspView.x,(EspView.y-100),aRed,chTeam,_FontDevice);
else
Cyno->DrawTextR(EspView.x,(EspView.y-100),aGreen,chTeam,_FontDevice);
EspView.y += 12;
}
if ( _Item_TeamEsp )
{
char chTeam[100];
if ( GetGlobalInfo(MaxPlayer)->Team == 1 )
sprintf(chTeam,"Team :NIU");
else if ( GetGlobalInfo(MaxPlayer)->Team == 0 )
sprintf(chTeam,"Team :DERBERAN");
Cyno->DrawTextR(EspView.x,(EspView.y-100),aYellow,chTeam,_FontDevice);
EspView.y += 12;
}
if ( _Item_PremiumEsp )
{
char chPremium[100];
if ( GetGlobalInfo(MaxPlayer)->Premium == 0 )
sprintf(chPremium,"Premium :None");
else if ( GetGlobalInfo(MaxPlayer)->Premium == 1 )
sprintf(chPremium,"Premium :Bronce");
else if ( GetGlobalInfo(MaxPlayer)->Premium == 2 )
sprintf(chPremium,"Premium :Silver");
else if ( GetGlobalInfo(MaxPlayer)->Premium == 3 )
sprintf(chPremium,"Premium :Gold");
else if ( GetGlobalInfo(MaxPlayer)->Premium == 4 )
sprintf(chPremium,"Premium :Platinum");
Cyno->DrawTextR(EspView.x,(EspView.y-100),aBlue,chPremium,_FontDevice);
EspView.y += 12;
}
if ( _Item_HealthEsp )
{
char chHealth[100];
sprintf(chHealth,"Health :%d ",GetGlobalInfo(MaxPlayer)->Health/10);
Cyno->DrawTextR(EspView.x,(EspView.y-100),aRed,chHealth,_FontDevice);
EspView.y += 12;
}
if ( _Item_PingEsp )
{
char chPing[100];
sprintf(chPing,"Ping :%i",GetGlobalInfo(MaxPlayer)->Ping);
Cyno->DrawTextR(EspView.x,(EspView.y-100),aWhite,chPing,_FontDevice);
EspView.y += 12;
}
if ( _Item_IpEsp )
{
char chIp[100];
sprintf(chIp,"Ip :%s",GetGlobalInfo(MaxPlayer)->Ip);
Cyno->DrawTextR(EspView.x,(EspView.y-100),aCyan,chIp,_FontDevice);
EspView.y += 12;
}
if ( _Item_FlagsEsp )
{
char chFlags[100];
sprintf(chFlags,"Flag :%i",GetGlobalInfo(MaxPlayer)->Flags);
Cyno->DrawTextR(EspView.x,(EspView.y-100),aOrange,chFlags,_FontDevice);
EspView.y += 12;
}
if ( _Item_KillsEsp )
{
char chKills[100];
sprintf(chKills,"Kills :%i",GetGlobalInfo(MaxPlayer)->Kills);
Cyno->DrawTextR(EspView.x,(EspView.y-100),aPurple,chKills,_FontDevice);
EspView.y += 12;
}
if ( _Item_DeathEsp )
{
char chDeaths[100];
sprintf(chDeaths,"Deaths :%i",GetGlobalInfo(MaxPlayer)->Deaths);
Cyno->DrawTextR(EspView.x,(EspView.y-100),aPurple,chDeaths,_FontDevice);
EspView.y += 12;
}
if ( _Item_ClassEsp )
{
char chClass[100];
switch ( GetGlobalInfo(MaxPlayer)->Class )
{
case 0: sprintf(chClass,"Class :ENGINER"); break;
case 1: sprintf(chClass,"Class :MEDIC"); break;
case 2: sprintf(chClass,"Class :SNIPER"); break;
case 3: sprintf(chClass,"Class :ASSAULT"); break;
case 4: sprintf(chClass,"Class :TROOPER"); break;
}
Cyno->DrawTextR(EspView.x,(EspView.y-100),aPink,chClass,_FontDevice);
EspView.y += 12;
}
}
}
}
Code:
{
MOV EDI,EDI;
PUSH EBP;
MOV EBP,ESP;
JMP pKeyHook;
}
Code:
int _Folder_Esp; int esp;