ok looks fine, before you create your visible actor model: test your ragdoll bones. Just create the scelet as you have written it above and see how it falls to the ground and how arms/legs behave. if this is ok create your visible actor model.
If you want to hide the physik bones, then do the folowing: when creating the model of a physikbone, assign an action to it which makes it invisible(set(my,INVISIBLE);)
Or you simply use the pointer you receive from the ent_create function and use this pointer DIRECTLY after the creation of the physik bone model, with set(pointer,flag);
And if you have done this, the next step is to set the rotation of your actors model's bones to the rotation of the attached physikbone
Greets
Rackscha