Wow.. Thanks Bro!! REALLY thanks!!!
Btw for who don't understand:
Were TTHP will be the sum of all enemies hp and TTGT will be the amount of enemies. Correct if i'm wrong YinYin...
Btw for who don't understand:
PHP Code:
//get_enemies_data
int TTGT = 0;
int TTHP = 0;
int m = 0;
for (int i = 0; i < 400; i++)
{if (loadTarget(i) == 0 && target.num != self.num && target.team != self.team && target.hp > 0){
m = i;TTHP = target.hp+TTHP;TTGT = (target.hp/target.hp)+TTGT;
}}
Were TTHP will be the sum of all enemies hp and TTGT will be the amount of enemies. Correct if i'm wrong YinYin...