[code]local tEntities = ents.FindByClass("prop_ragdoll")
for i = 1, #tEntities do
tEntities[i]:Remove()
end[/code]
I believe death ragdolls have another class, but I forgot what it was.
it is not in ents.GetAll()
there must be something different to remove ragdolls
[QUOTE=poepel;51957179]it is not in ents.GetAll()
there must be something different to remove ragdolls[/QUOTE]
If it's not in ents.GetAll(), then what you see is a clientside ragdoll (corpses). Those are removed automatically as far as I know. I think they are called "C_ClientRagdoll", but you won't see them if you execute ents.GetAll() on the server.
yeah it is client sited, thanks for help :)
Sorry, you need to Log In to post a reply to this thread.