Actually that copied code doesn´t say anything about WHEN u are actually executing this. All this does is looping over the entities ONCE and then it sets them to green. U have to do this on an regularly intervall or execute this when a certain event occurs like shooting or whatever!
❗ Loop Players
Code:
if (ShotsFire >= 1) { //IF SHOTS >=1 CONTINUE
for (int h = 0; h < 64; h++){ //LOOP PLAYERS
int PB = PP.GetBaseEntity(h); //GET PLAYERS BASE
int life = PP.GetHealth(PB); //GET PLAYERS LIFE
if (life <= 100 && life >= 85) { //LIFE CHECK THEN DRAW
vme = 0, vre = 255, aze = 0;
}
else if (life < 85 && life >= 0) {
vme = 0, vre = 255, aze = 0;
}
}
}
Im reading EntityBase like this
return mem.Read<DWORD>(modClient.dwBase + offEntityList + (offEntitySize * PlayerNumber));
and the health like this
int bet = mem.Read<int>(BaseEntity + 0x000000FC);
Something wrong?
------------------------------------------------
FORGET everything... thanks for help everyone got it by myself
im so happy now