[Request] Auto reloading

12/13/2009 19:25 ~jochemke~#1
hello,

i was looking into the 5165 source and i saw that it wasn't auto reloading arrows . So i was thinking , can anyone get me on the way to create a auto reloading for the arrows ? I'm not requesting the complete code . Just how i should create or something . Little guide or anything .



thanks in advance


jochemke
12/13/2009 19:54 Arcо#2
Yeah do something like hmmm.
Code:
if (MyChar.Arrows = 0)
    {
        if (MyChar.InventoryContains(Arrow ID))
              {
                  Equip blahblahblah
               }
break;
    }
Lol sorry its sloppy.
I did it on here instead of C#
12/13/2009 19:59 ~jochemke~#3
nah its enough :)
i requested a part of the code so i can finish it myself . will be a good experience for me too so thanks alot
12/13/2009 20:21 .Ryu#4
Quote:
Originally Posted by ~jochemke~ View Post
nah its enough :)
i requested a part of the code so i can finish it myself . will be a good experience for me too so thanks alot
So since problem is solved
#Request Close
12/13/2009 20:43 LetterX#5
Quote:
Originally Posted by Cømbat View Post
So since problem is solved
#Request Close
I believe that is up to the OP. He may run into errors and be able to use this thread instead of opening a second one. x_x
12/13/2009 20:46 Huseby#6
Yuph like LetterX said, its up to OP, unless it becomes a spam thread.
12/13/2009 20:52 .Ryu#7
Quote:
Originally Posted by Huseby View Post
Yuph like LetterX said, its up to OP, unless it becomes a spam thread.
Got it
Hope yeah figure it out bro
12/13/2009 21:58 ~jochemke~#8
i hope so i'll keep the mods updated if it works