How to remove an object in CS2
Run sv_cheats 1, then aim at an object and type ent_remove in the console to delete it from the map.
ent_remove
Removes an entity by name, class or index, or the one you are looking at.
ent_remove [name|class|index] Examples
ent_remove Remove what you are looking at.
Arguments
targetOptional- Entity name, class name or index. Leave out to use what you aim at.
What it does
With no argument it removes what your crosshair points at. Requires sv_cheats 1.
The game's own description: Removes the given entity(s) Arguments: {entity_name} / {class_name} / {entity_index} / {no argument = pick what player is looking at}
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to game/csgo/cfg/server.cfg. New to this? Start a CS2 server first.
Your own
CS2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.