entity:remove
entity:remove()
Deletes an entity created by this script.
Example#
cauldron:remove()
Notes#
- Raises an error if the entity comes from the map or from another script. For a player, use
player:kick.
entity:remove()
Deletes an entity created by this script.
cauldron:remove()
player:kick.No native matches.