October 19, 20169 yr I'd like to want to wait for a while using c# code in OverridePulseCSharpCode. My code is ... Vector3 pos1 = new Vector3(-1475.103, -226.9858, 4.822745, "Flying"); float fishRotation = 5.77f; uint itemId = 211160; if (!FishingTask.IsLaunched) { if (GoToTask.ToPosition(pos1, 1.5f)) { ObjectManager.Me.Rotation = fishRotation; ItemsManager.UseItem(itemId); FishingTask.LoopFish(); } } return true; and I want to wait for a while before using the item in my bag.
October 19, 20169 yr Does adding: Thread.Sleep(500); after using the item work? (may want to increase the time too)
October 23, 20169 yr Author On 2016. 10. 20. at 1:22 AM, KnightRyder said: Does adding: Thread.Sleep(500); after using the item work? (may want to increase the time too) Thx. It works perfect!
Create an account or sign in to comment