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 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
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 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!
So in otherwords open your client.java and search:
tweak around with it idk how to setup to pick up grounditems though without making them null...^_^Code:Firstclicknpc
did you add the
to your public boolean or voids?Code:haspet
Last edited by cjavacoder; 01-19-2009 at 07:52 PM. Reason: Double posting is not allowed!
does it help if i say i use allstarscape v2?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |