1. Post #1
    Gold Member
    Mythikos's Avatar
    January 2012
    97 Posts
    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 :D
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Dumb Dumb x 1 (list)

  2. Post #2
    CoderHire
    _Undefined's Avatar
    November 2007
    1,466 Posts
    Try Entity:CPPISetOwner(ply) and if that doesn't work, Entity:SetNetworkedEntity("OwnerObj", ply).
    Reply With Quote Edit / Delete Reply Windows 7 United Kingdom Show Events Useful Useful x 1 (list)