XenoBot Forums - Powered by vBulletin

User Tag List

Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Withdraw Dp

  1. #11

    Join Date
    Feb 2015
    Posts
    35
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    no srry im poor thanks

  2. #12
    Senior Member Jontor's Avatar
    Join Date
    Sep 2014
    Posts
    446
    Mentioned
    51 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by felipe93 View Post
    no srry im poor thanks
    You'd want to call a function that would check every container like this
    Code:
    for i = 0, 15 do
        if (Container.isOpen(i)) then
            -- rest of code
        end
    end
    Or use the Self.Equip function, but it only checks in the first container ( index 0 )
    Code:
    Self.Equip("spear", "weapon", -1)



  3. #13

    Join Date
    Feb 2015
    Posts
    35
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    @Jontor thanks alots but could u explain more how add those lines pelase?
    im learning so i dont undertand in creating lines cause that isn't all the funcition to withdraw spears from dp or is it?
    thanks in advance men

  4. #14
    Senior Member Jontor's Avatar
    Join Date
    Sep 2014
    Posts
    446
    Mentioned
    51 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by felipe93 View Post
    @Jontor thanks alots but could u explain more how add those lines pelase?
    im learning so i dont undertand in creating lines cause that isn't all the funcition to withdraw spears from dp or is it?
    thanks in advance men
    krille09 / brindeds already explained it on the first page.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •