C++:
#include "Hacks.h"
#include "ESP.h"
#include "EspVars.h"
void ESP::Telekill()
{
PlayerDataVec playerVec = GetPlayerVec();
int enemyCount = 0;
PlayerDataVec enemiesVec[MAXPLAYERS];
PlayerDataVec viableEnemiesVec[MAXPLAYERS];
PlayerDataVec playerRet;
playerRet.xPos = *(float*)(0x797618);
playerRet.yPos = *(float*)(0x79761C);
playerRet.zPos = *(float*)(0x797620);
playerRet.isInGame =*(int*)(0x74E35C);
PlayerDataVec enemyVec;
for (int i = 0; i < enemyCount; i++)
{
enemyVec.xPos = *(float*)(0x839270 + i * 0x4CC + 0x398); // 0x4CC size of struct
enemyVec.yPos = *(float*)(0x839270 + i * 0x4CC + 0x39C);
enemyVec.zPos = *(float*)(0x839270 + i * 0x4CC + 0x3A0);
}
if(playerRet.isInGame)
{
playerRet.xPos = enemyVec.xPos + 5;
playerRet.yPos = enemyVec.yPos - 5;
playerRet.zPos = enemyVec.zPos + 5;
}
}
Attachments
You can download 0 Attachments
-
131.7 KB Views: 23
Last edited: