Skip to content

GetPickupHealth

The condition of a pickup’s item.

GetPickupHealth(id)
Parameter Type
id number the pickup

number - 1..100; nil for an entity that is no item pickup

function OnPlayerDrop(pid, id)
Log(GetPlayerName(pid) .. " dropped an item at " .. GetPickupHealth(id) .. "%")
end

SetPickupHealth · OnPlayerDrop · GetPickupQuality · the Items and inventory group of the index