1. ScreenShot - 1452638598.png

    Somehow, when no container is even opened, and noone's moving anything there, still executing like every couple of seconds.
    Is there something im doin wrong? New to this stuff.
     
  2. humm.. not sure.. but could it be seeing loot spawn as "item added to container" or something like that? not necessarily related to player actions.
     
  3. Is there a possibility that some other plugin is interfering with that function, and making it execute every moment?
    I just deleted all my stuff from plugin and added ONLY one function, the above one, and problem still occurs..
     
  4. Wulf

    Wulf Community Admin

    Is your plugin printing the message in your screenshot?
     
  5. I just copied-pasted from the oxide api:
    Code:
    void OnItemAddedToContainer(ItemContainer container, Item item)
    {
    Puts("OnItemAddedToContainer works!");
    }
    
     
  6. Wulf

    Wulf Community Admin

    Yeah, that'd be for any container I believe, even spawns as Colon mentioned. You'd need to filter it to what you want exactly based on the container.