ohhh and also how do u add and remove stuff from any shop on a 562, btw my source is pkzevolution
|
|
how do u make there be just seperate shops for donators. and how do u make spawning charge coins or kills for regular players and donors. how wud you add npc's to a staffzone for example. how do u change the starter kit when a new player logs in i tried to search for that forever. alos how do u make an item unspawnable
ohhh and also how do u add and remove stuff from any shop on a 562, btw my source is pkzevolution
shops.cfg i think
just make a shop and put it in donator zone to change starter pack. go to Actionsender and search for starter and for item unspawnable go to commandspackethandler.java and search for int[] jad = {10637, 11700, 6570, 10566}; and u add the items in those int
's or u can make your own
i mean like how wud i make a seperate shop cuz all the shops in the server have the same shit
go to summonpackethandler and make sure your npc's are connected with the shops.
and how do u add items in shops and shit
go to shops.java and shophandler.java
In shops.java there shoudl be something like this
Then in shophandler.javapublic int[] herquinshop = {//Item id's ect.};
public int[] herquinshopN = {//Amount of item's in ship};
The case's represent the item and case 1: above switch (button represetns the shop idcase 1:
switch (buttonId2) {
case 0:return ;
case 1:return ;
ECT
}
like this
that's the connection with shops.java which should be at the bottom of shophandler.javacase 1:
p.getActionSender().sendString("Name of shop(random)", 620, 22);
shopopen(p, 1);
items = GameEngine.shops.herquinshop;
itemsN = GameEngine.shops.herquinshopN;
p.getActionSender().sendItems( -1, 64209, 93, p.getInventory().getContainer());
p.getActionSender().sendItems( -1, 63746, 556,items, itemsN);
break;
im sozz but one more thing, how do i make admins not be able to trade, cuz they r giving out shit they shudnt be
and how do i add seperate npcs to places, btw u mite think im dumb but i just started coding 5 days ago
| « 630+ Interface format's | New Quest Tab » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |