tell me what's necessary to fix that worked
Code:
using System;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace YourNamespace
{
public class YourClass : Core
{
public Creature pikupDrop()
{
foreach (var obj in getCreatures())
{
if ( obj.dropAvailable )
{
PickupAllDrop(obj);
}
}
}
public void PluginRun()
{
while (true)
{
pikupDrop();
Thread.Sleep(100);
}
}
}
}