I finally found by myself
its the function :
G_SetAnim(ent, NULL, SETANIM_BOTH, BOTH_CONSOLE1, SETANIM_FLAG_OVERRIDE
but I don't know what means theses flags (SETANIM_FLAG_OVERRIDE, ....). and when I use the command with this function, I do the emote but I can move, not very realistic (my legs wont move). I think I should set player speed to 0 during the emote but I dont know how to make the speed back to normal when the emote is finished.
and another question : where is defined NUM_FORCE_POWERS ?? because I want add new force powers but I think I must increase this.. otherwise I get errors when compiling..
thanks in advance
and sorry for my bad english