Rename Backpack/Container Names
#32
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
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)
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
onContainerOpen(function(container, previousContainer)
if not container.window then return end
container.window:setText("BP: " .. container:getId())
end)
26 May 2021