Oh, I made it again with bones and it works. There are two basic functions for that. vec_for_bone and ang_for_bone. There is the code;

Code:
vec_for_bone(my.x, player, "el");
		ang_for_bone(my.pan, player, "el");