Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
2.2K
UI Container Drag Drop #107
Updated UI.Container to allow you to drag and drop into the first slot (always empty). Github
You will also need the image (On the github link or make your own).
File: ui_elements.lua | 222b | 6 lines.
-    for i = 1, itemsToShow do 
+    for i = 0, itemsToShow do
      local widget = g_ui.createWidget("BotItem", widget.items)
+      if i == 0 then
+        widget:setImageSource("/images/ui/item-blessed")
+      end
- remove | + add

04 Nov 2022
Ads