Rename Backpack/Container Names
#32
UI.Button("Update Button Name", function()
for i, container in pairs(getContainers()) do
if not container.window then return end
container.window:setText("BP: "..container:getId())
end
end)
onContainerOpen(function(container, previousContainer)
if not container.window then return end
container.window:setText("BP: " .. container:getId())
end)
26 May 2021