• How to use ExtraFilters inside of "game.CleanUpMap"?
    4 replies, posted
I need to keep some props and vehicles excluded from the map clean up. Anyone have an idea on how ExtraFilters works? The code below that I tried didn't work. Code Example: local ExtraFilters = {} ExtraFilters[1] = {ents.FindByClass("prop_vehicle_airboat")} ExtraFilters[2] = {ents.FindByClass("prop_dynamic")} game.CleanUpMap(false, ExtraFilters )
the wiki clearly states that it needs a list of entity classes, not a table of tables of entities.
Can you give me an example of a list of entity classes?
That's very bad. game.CleanUpMap(false, {"prop_dynamic", "prop_vehicle_airboat"})
Sorry, you need to Log In to post a reply to this thread.