if (vec_dist(my.x, plBiped01_entity.x) < 100)
{
remDocHealth(10);
}

works but not entirely, the health goes down REALLY quick because the object stays around that area for a while why its passing by, so each tick or whatever you want to call it that the bullet is close to the player he loses 10 health hahah