Jump to content

loot problems

Closed 1.1.15

TheRiddledNote
TheRiddledNote

Posted

Hi newguy, 
I'm having a problem where lootable GUI is overriding the loot on the boxes for hunger games so all I am getting are normal loot for hungergames. How do I fix this?
below are the loot we are now getting on it. I do not see any errors in the console either. Thank you!

image.png

image.png

imthenewguy

Posted

The dev may need to add a hook call to check if the plugin is allowed to modify the loot.

TheRiddledNote

Posted (edited)

hello again, i am back. This is his response

 image.thumb.png.6512768e5ea95a015af8d95ed2a06a8f.png

Edited by TheRiddledNote
imthenewguy

Posted

Plugin already has that hook in it.

        private object OnContainerPopulate(LootContainer container)
        {
            if (Vector3.Distance(container.transform.position, start_button.transform.position) < config.max_distance) return true;
            return null;
        }

 

TheRiddledNote

Posted

alrighty, back to kiing we go. ill update once he responds

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.5k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.