Results 1 to 3 of 3

Thread: explanation plz

  1. #1
    Join Date
    Aug 2008
    Location
    !!LOL!!
    Posts
    247
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    explanation plz

    ok I'm working on a cooker, i have a lot of food to choose from.
    i have seen stuff like this
    SCAR Code:
    Players[0].Strings[0] := 'tuna';   //food type
    ok so wen i want to withdraw for ex tuna can some1 explain how to use it
    so my script knows what dtm to take??

  2. #2
    Join Date
    Mar 2008
    Location
    ::1
    Posts
    915
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    After you have the user fill that out in setup, you can use this later in the script
    SCAR Code:
    case Players[CurrentPlayer].Strings[0] of
      "tuna" : {Withdraw or whatever for tuna};
      "lobster": {lobster withdraw};
      "etc": {etc Withdraw};
    end;

    Records and Types Save Code (and make you look better)
    Quote Originally Posted by Wizzup? View Post
    Is it possible to make Runescape a 2D game with this?... That would greatly simplify... Just about anything.

  3. #3
    Join Date
    Aug 2008
    Location
    !!LOL!!
    Posts
    247
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thx just wat i was looking for
    i forgot also do i load dtms before or after declaring players or it doesn't matter

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. explanation needed plz
    By hackncrack1 in forum OSR Help
    Replies: 3
    Last Post: 03-01-2009, 11:32 AM
  2. Small explanation
    By Freddy1990 in forum News and General
    Replies: 10
    Last Post: 04-12-2008, 11:08 PM
  3. Explanation?
    By HyperSecret in forum News and General
    Replies: 0
    Last Post: 01-02-2008, 10:47 PM

Posting Permissions

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