Code:
vec_set(temp,my.x);
if(vec_dist(me.x, player.x)<1000 && vec_to_screen(temp,camera)!=NULL){
   	draw_text("Here I am!", temp.x, temp.y-20, vector(200,200,200));
}


where...
me = the entity
player = the player (you)