Getting the GlowObjectsMaxCount? c++ internal
Yo guys,
Pretty new to Internal but it's going okay. I just finished my GLOW, which works fine.
Just one problem, externally, i used to do:
Which worked like i wanted. But internal, apperently it looks like when i loop more players than there actually are, It'll crash.
I read somewhere u can do
My struct
My offset: DWORD xGlowObjectsCount = 0x4;
If i do that, it'll glow for a second and then crash. No idea how i can make sure it won't crash if i would read 10 players in MM and 1 guy would leave -> it crashes.
Thanks in advance!
Pretty new to Internal but it's going okay. I just finished my GLOW, which works fine.
Just one problem, externally, i used to do:
Code:
for (int i = 1; i < MaxPlayers; i++)
I read somewhere u can do
Code:
for (int i = 1; i < Client->GetGlowObjectsCount; i++)
Code:
DWORD GetGlowObjectsCount()
{
return *(DWORD*)(GetGlowObjects + offs->xGlowObjectsCount);
}
If i do that, it'll glow for a second and then crash. No idea how i can make sure it won't crash if i would read 10 players in MM and 1 guy would leave -> it crashes.
Thanks in advance!

