How would I remove every entity from the map?
[lua]for _, ent in ipairs(ents.GetAll()) do
ent:Remove()
end[/lua]
Thanks
You might want to check if the entity is a player or weapons or anything else that shouldn’t be removed before calling Remove().
Oh yea, too late lol. No wonder I just died on spawn!