long MFBoneHandle = ent_bonehandle(my,"Bone2",0);
printf("%d",(int)MFBoneHandle);
I'm getting an "invalid function arguments" error, after that it prints "3" to the screen which I guess is the correct handle (as I can use it to reset a bone's position).
When I use a regular string it works without error message:
str_cpy(str_tmp,"Bone2");
long MFBoneHandle = ent_bonehandle(my,str_tmp,0);
printf("%d %s",(int)MFBoneHandle,_chr(str_tmp));
Nothing of importance and it may even be my misunderstanding but I thought I should post it here.