try this straight from the manual


you = player;
distance = vec_dist(my.x,your.x); // calculate distance of MY and YOU entities

if(dist > 200)
{


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!