Hello, this is my first time using ragdolls so I have no idea what I am doing. xD
I made a script where every 2 seconds it spawns a ragdoll via my pos and angles and then sets the gravity to 0 so using my velocity and 0 gravity it should fly somewhere or whatever... but it doesnt. Here is my code:
[CODE]
hook.Add("ShowHelp", "StartRagShit", function(ply)
timer.Create("SpawnRagdoll",2,0,function()
ply:CreateRagdoll()
local rag = ply:GetRagdollEntity()
rag:SetGravity(0)
end)
end)
[/CODE]
Please Help :D
[editline]12th July 2017[/editline]
Fixed it xD, Made the ragdoll on server but the ragdoll I wanted to effect was client so I did net.Send(ply) and net.WriteEntity(rag) and then effected it on client.
Sorry, you need to Log In to post a reply to this thread.