Results 1 to 5 of 5

Thread: How do you...

  1. #1
    Join Date
    Dec 2006
    Posts
    399
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default How do you...

    How do you count the number of one item in an inventory, I am releasing my magic tree cutter and banker today... but I want to add a progress report..

    chances are most the time, u wont be getting 28 logs every time... so how do I count the number of logs in the inventory?
    Hax0r


  2. #2
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    AmounDTM(DTM,.....

    For the rest of the parameteres, type AmountDTM and then do Ctrl + Space
    ~Hermen

  3. #3
    Join Date
    Sep 2007
    Location
    Sweden
    Posts
    765
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Are you really sure about that?

    SCAR Code:
    function AmountDtm(area: string; dtm: Integer): Integer;
    //counts stacks


    Shouldnt this be the right one?
    SCAR Code:
    function CountItemsDtm(area: string; dtm: Integer): Integer;


    ^LOL^

  4. #4
    Join Date
    Dec 2006
    Posts
    399
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    its countitemsdtm

    ty!
    Hax0r


  5. #5
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by kor View Post
    Are you really sure about that?

    SCAR Code:
    function AmountDtm(area: string; dtm: Integer): Integer;
    //counts stacks


    Shouldnt this be the right one?
    SCAR Code:
    function CountItemsDtm(area: string; dtm: Integer): Integer;
    Quote Originally Posted by Jethr0x View Post
    its countitemsdtm

    ty!
    Oops my fault
    ~Hermen

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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