nanos world API Reference Unofficial documentation
Event Shared

Entity.Destroy

Triggered when an Entity is destroyed

Syntax

Lua
Entity.Subscribe("Destroy", function(self)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Entity The Entity which that was destroyed