Jump to content

Recommended Posts

Hello,

Like:

        Thread t = new Thread(() =>
        {
            int questId = 28000;
            while (robotManager.Products.Products.IsStarted)
            {
                if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
                {
                    if (!Quest.HasQuest(questId))
                        break;
                    Lua.LuaDoString("OverrideActionBarButton1:Click()");
                }
                Thread.Sleep(500);
            }
        });
        t.Start();

 

Link to comment
https://wrobot.eu/forums/topic/8138-help-runcode/#findComment-37227
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...