Originally Posted by
NewieX
How to achieve the Weapon ESP is there's another Class for Weapon ESP? and Have other Address to use or Just same address with normal esp but different Class for Weapon ESP
Code:
if (TargetPlayer->CharacterFX->WeaponESP() != NULL)
{
if (Memory->FastRead<DWORD>(CF::_baseAddress + WeaponMgr) != NULL)
{
DWORD dwep = Memory->ReadProcess<DWORD>(Memory->FastRead<DWORD>(CF::_baseAddress + WeaponMgr) + (4 * TargetPlayer->CharacterFX->WeaponESP()));
if (dwep != NULL)
{
char* WeaponName = (char*)(dwep + 0xE);
if ((strlen(WeaponName) > 2))
{
char _WeaponName[256];
sprintf_s(_WeaponName, "%s", WeaponName);
Engine->AddEngineText(Head.x - (DirectX->GetTextWidths(_WeaponName, Font) / 2), DrawFootY + 25, D3DCOLOR_ARGB(255, 242, 206, 4), TLeft, _WeaponName);
}
}
}
}