for (int i = 1; i < MaxPlayers; i++)
for (int i = 1; i < Client->GetGlowObjectsCount; i++)
DWORD GetGlowObjectsCount()
{
return *(DWORD*)(GetGlowObjects + offs->xGlowObjectsCount);
}
if(!entity) continue;
for (int i = 1; i < Client->GetGlowObjectsCount(); i++)
{
Sleep(5);
float* r = reinterpret_cast<float*>(Client->GetGlowObjects() + Entity->GetGlowIndex(i) * 0x38 + 0x4);
float* g = reinterpret_cast<float*>(Client->GetGlowObjects() + Entity->GetGlowIndex(i) * 0x38 + 0x8);
float* b = reinterpret_cast<float*>(Client->GetGlowObjects() + Entity->GetGlowIndex(i) * 0x38 + 0xC);
float* a = reinterpret_cast<float*>(Client->GetGlowObjects() + Entity->GetGlowIndex(i) * 0x38 + 0x10);
bool* rwo = reinterpret_cast<bool*>(Client->GetGlowObjects() + Entity->GetGlowIndex(i) * 0x38 + 0x24);
bool* rwuo = reinterpret_cast<bool*>(Client->GetGlowObjects() + Entity->GetGlowIndex(i) * 0x38 + 0x25);
bool* chams = reinterpret_cast<bool*>(Client->GetGlowObjects() + Entity->GetGlowIndex(i) * 0x38 + 0x26);
bool* SpottedBy = reinterpret_cast<bool*>(Entity->GetEntityList(i) + offs->xBspottedByMask);
bool* HasDefuser = reinterpret_cast<bool*>(Entity->GetEntityList(i) + offs->xHasDefuser);
bool* IsDefusing = reinterpret_cast<bool*>(Entity->GetEntityList(i) + offs->xIsDefusing);
if (!Entity->GetEntityList(i))
continue;
if (!Player->GetLocalPlayer())
continue;
if (!Entity->IsDormant(i))
{
if (Player->GetTeam() == Entity->GetEntityTeam(i))
{
*r = 0.f;
*g = 0.f;
*b = 1.f;
*a = 0.7f;
*rwo = true;
*rwuo = false;
*chams = false;
}
if (Player->GetTeam() != Entity->GetEntityTeam(i))
{
*r = 1.f;
*g = 0.f;
*b = 1.f;
*a = 0.7f;
*rwo = true;
*rwuo = false;
*chams = false;
}
}