Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Glow::glowOthers() {
- DWORD glowObject = pLocalPlayer->getGlowObject();
- for (int i = 0; i < 300; i++) {
- DWORD entity = pMemory->Read<int>(Client + Offsets::dwEntityList + ((i - 1) * 16));
- int index = pMemory->Read<int>(i + Offsets::m_iGlowIndex);
- if (!pEntity->isDormant(entity)) {
- pMemory->Write<float>(glowObject + (index * 0x38) + 0x4, 1.f);
- pMemory->Write<float>(glowObject + (index * 0x38) + 0x10, 1.f);
- pMemory->Write<bool>(glowObject + (index * 0x38) + 0x24, true);
- pMemory->Write<bool>(glowObject + (index * 0x38) + 0x25, false);
- pMemory->Write<bool>(glowObject + (index * 0x38) + 0x2C, false);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement