Skip to content

IsActorDead

Whether an actor is a corpse.

IsActorDead(id)
Parameter Type
id number the actor

boolean

if IsActorDead(id) then DestroyEntity(id) end

GetActorHealth · OnActorDeath · the NPC actors group of the index