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.7K
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.
 --[[
  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.
 ]]--
-    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
+ add | - remove

04 Nov 2022
Ads