Lua Events/OnFillContainer

From PZwiki
< Lua Events
Revision as of 22:35, 13 June 2023 by Faalagorn (talk | contribs) (Faalagorn moved page Lua Events/OnFillContainer to Lua Events/OnFillContainer: Avoid Modding: prefix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Event

OnFillContainer

Description

Triggered after a container has been filled.

Parameters

  • String The room name in which the container is installed.
  • String The type of the container that is being filled.
  • ItemContainer The container that is being filled.

Examples

local function OnFillContainer(roomName, containerType, itemContainer)
	-- Your code here
end

Events.OnFillContainer.Add(OnFillContainer)

See also