Thanks again Superku...
I am sorry for asking too much but it still doesn't work... the enemy which is a turret gets stuck and points randomly and not toward my player ....
here's what I am using exactly ::

Code:
action turret()
{
	ANGLE pan_enemy;
	c_setminmax(me);
	my.Health = 100;
	while(my.Health>0)
	{
		vec_to_angle(pan_enemy.pan,vec_diff(NULL,player.x,my.x));
		c_rotate(my,vector(ang(pan_enemy.pan-my.pan)*time_step,ang(pan_enemy.tilt-my.tilt)*time_step,0), NULL);
		wait(1);
		
	}
	
}



I don't know what is going wrong!!!