ent_remove
Jump to navigation
Jump to search
Bug:If specified entity index does not exist in the map, this command will instead remove worldspawn causing a crash. [todo tested in ?]
ent_remove is a console command available in all
Source games. This is used to remove entities from the game. Syntax: ent_remove [optional <targetname>/<classname>/<entity index>]
Usage
ent_remove- Remove entity the player is looking at right now
ent_remove npc_metropolice- Remove only one
npc_metropolicefrom a map
- Remove only one
ent_remove cupcop- Remove entity with targetname
cupcopfrom the map
- Remove entity with targetname