Thread: a pet question(help plz?)

Results 1 to 5 of 5
  1. #1 a pet question(help plz?) 
    Registered Member
    Join Date
    Sep 2008
    Posts
    144
    Thanks given
    0
    Thanks received
    2
    Rep Power
    1
    i made a pet cat follow me and i cant pick it up any hint on what to do?i dont wana make my player go back and forth buying pets.how do i make it so anybody can pickup their own cats or pets.

    help would be nice
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jul 2008
    Posts
    939
    Thanks given
    0
    Thanks received
    3
    Rep Power
    781
    First click NPC.

    If you click the NPC and if it is yours, then it'll add a cat to the inventory. When you click it, it'll spawn a new pet. Get it?
    I'm Rog3r, fool.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Sep 2008
    Posts
    144
    Thanks given
    0
    Thanks received
    2
    Rep Power
    1
    i tried i kept getting a error

    if (NPCID == 769) {
    haspet == 1;
    addItem(1562, 1);
    sendMessage("you pickup your cat");
    haspet = 0;
    savemoreinfo();
    savechar();

    }
    }


    i got 100 errors
    Last edited by zaradomin; 01-19-2009 at 06:11 PM. Reason: Double posting is not allowed!
    Reply With Quote  
     

  4. #4  
    cjavacoder
    Guest
    So in otherwords open your client.java and search:
    Code:
    Firstclicknpc
    tweak around with it idk how to setup to pick up grounditems though without making them null...^_^

    did you add the
    Code:
    haspet
    to your public boolean or voids?
    Last edited by cjavacoder; 01-19-2009 at 07:52 PM. Reason: Double posting is not allowed!
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Sep 2008
    Posts
    144
    Thanks given
    0
    Thanks received
    2
    Rep Power
    1
    does it help if i say i use allstarscape v2?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Tags for this Thread

View Tag Cloud

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