Maybe this one is better (without c_scan) ?

Code:
function Iam_a_Weapon()
{  
 while(my) 
 {
  if(vec_dist(my.x,player.x)<100 && key_e) break;
  wait(1);
  }
  //i was taken place further code here
}

Have fun

Edit: Get away from the templates just a tip

Last edited by rayp; 05/31/12 05:42.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;