Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question About Target(I Think)
#3
Wow.. Thanks Bro!! REALLY thanks!!!

Btw for who don't understand:

PHP Code:
//get_enemies_data 
    
int TTGT 0;
    
int TTHP 0;      
    
int m 0;    
    for (
int i 0400i++)
    
  {if (
loadTarget(i) == && target.num != self.num && target.team != self.team && target.hp 0){
   
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...
Reply
Thanks given by:


Messages In This Thread
Question About Target(I Think) - by samael - 12-02-2012, 03:30 AM
RE: Question About Target(I Think) - by YinYin - 12-02-2012, 08:53 AM
RE: Question About Target(I Think) - by samael - 12-02-2012, 04:48 PM



Users browsing this thread: 2 Guest(s)