Skip to content

IsActorButchered

Whether a player butchered the animal’s carcass.

IsActorButchered(id)
Parameter Type
id number the animal

boolean - false for a whole carcass, a living animal and anything that is no server animal

-- a butchered carcass is taken away a minute later
if IsActorButchered(deer) then SetTimer(function() DestroyEntity(deer) end, 60000) end

SetActorButcher · OnPlayerButcher · the NPC actors group of the index