• Deflating a ragdoll's head from server file (Serious Edition)
    2 replies, posted
I know that most of the methods I'll have to use are client side, that's why I am asking. [CODE]target:Kill() local ragdoll = target:GetRagdollEntity() for k, v in ipairs (player.GetAll()) do v:SendLua("local bone = Entity(" .. ragdoll:EntIndex() .. "):GetBoneMatrix(6); bone:Scale(Vector(0, 0, 0)); Entity(" .. ragdoll:EntIndex() .. "):SetBoneMatrix(6, bone)") end[/CODE] It says the entity is NULL.
How about replacing "Entity(ragdoll:EntIndex())" with just ragdoll? But this wasn't necessary of a new thread.
You see sendlua won't import the locals from the server script, unless you concatenate them.
Sorry, you need to Log In to post a reply to this thread.