Is it possible to turn ragdolls or npc into player model? :S

I tried making a lua script but… i kinda fail at it i think i donne it all ok but when i go to my my player models the big red error appears… so can anyone tell me how to make ragdolls into player models… ? if its possible of course or point me at a tutorial? :slight_smile: