aboutsummaryrefslogtreecommitdiff
path: root/gamemode/client/render_noragdolls.lua
blob: c3ffb09ab58f26c57f63c6138ce490c1c9736103 (plain)
1
2
3
4
5
6
7
8
9
10
11
hook.Add("Initialize","cleanupragdolls",function()
        print("Client initalized")
        timer.Create( "removeRagdolls", 3, 0, function()
            for k,v in pairs(ents.GetAll()) do
                if(v:GetClass() == "class C_ClientRagdoll") then
                    v:Remove()
                end
            end
        end)
    end)