OnEntityRebirth||doc136888

September 20, 2022

Format

local event = Entity:GetEvent("OnEntityRebirth")

Description

Tiggered when entity is revived.

Callback function parameters

Type Name Introduction
Entity entity Revived entity

Code Example

local event = Event:GetEvent("OnEntityRebirth")
event:Bind(function(entity)
    print(entity .. " rebirth")
end)