i looking for someone who could help me with identifying entity player
my actual code :
Code:
DWORD64 OGetEntityById(int Entity, DWORD64 EntityList)
{
return driver.ReadMemory<DWORD64>(EntityList + (Entity << 5));
}
Code:
for (int i = 0; i < 120; i++)
{
DWORD64 Entity = GetEntityById(i, EntityList);
if (Entity == NULL)
continue;
DWORD64 EntityHandle = driver.ReadMemory<DWORD64>(Entity + OFFSET_SIG_NAME);
DWORD64 EntityName = driver.ReadMemory<DWORD64>(EntityHandle);
if (EntityName == 125780153691248) {
EnableHighlight(Entity, 120.f, 0.f, 0.f);
}
}
Glow works but for everything except player