How do I set a prop to owner: world

I am working on a swep that will ragdoll a player when shot. Everything works perfectly except the ragdoll says “Owner: N/A” and can be claimed by another player. If the player then sells the ragdoll, the server crashes. I need to know how to set the ragdoll entity to owner: world by default or at least disable interaction with it. I am using SPP (Simple Prop Protection) on my server. Any help would be appreciated and thanks in advance :smiley:

Try Entity:CPPISetOwner(ply) and if that doesn’t work, Entity:SetNetworkedEntity(“OwnerObj”, ply).