why you don`t use ang_for_bone?
And turn your Bone with

ent_bonerotate( ENTITY*,STRING* name,VECTOR* angle)