It works now. I used ent_move instead of c_move thats why it didnt work.

But now when i have c_move and enemy comes close to me so he can hit me, I cant
get away, its like my GLIDE doesnt work and i get stuck in the enemy...

did i write anything wrong??
c_move(my,my.force_x,nullvector,IGNORE_PASSABLE|GLIDE);

Tnx for your help