Es remove

From EventScripts Community Encyclopedia


Overview

Syntax: es_remove <entity>

Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Variation of this command that doesn't expand variables: {{{x}}}

Description

Removes the first instance of the named entity from the map.

Parameters

  • entity - name of the entity you want to remove.


Examples

// Remove the first AK47 from the map
es_remove weapon_ak47
 
// Removes the entity with the index of 666
es_remove 666


Notes

  • Only removes the first instance of the named entity.
  • This command can also take an entity index. If an entity index is provided ES will remove that entity.


See also


External links

es_xremove


{{{category}}}

blog comments powered by Disqus