Phailscape
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Adding shops =D

2 posters

Go down

Adding shops =D Empty Adding shops =D

Post by Mysticpkz Thu Mar 20, 2008 4:01 pm

Open your autospawn.cfg and add this for just a test thing

spawn = 460 3250 3433 0 3235 3421 3235 3421 2 Shop Tester

then open shop.cfg and add
shop = ## Description 2 2 ID Amount ID Amount

Shop = ## Fill in the number that you want in. Make sure other shops do not have this number.
2 and the other 2 Make sure you have this so you can be able to sell and buy from the shop.
ID This is the identification number of the weapon, armour , food , or anything else you could think of.
Amount Amount is how much you want that number to be in there. For example
1050(santa id) 1000(how manny santa's in shop)

Open client.java and search for "case 17: //second Click npc" and under it add

} else if (NPCID == ##) {
PutNPCCoords = true;
WanneShop = ##;

NPCID == ## This is from when you added the npc to be the shop owner in the autospawn.cfg. For example that NPC = 460.
WanneShop = ## This is very important....If you mess up on a number it will open another shop no doubt. You must copy the shop number that you made and replace it with ##. If you made the shop number 40 you put 40 in there.

hope that works =D post errors!
Mysticpkz
Mysticpkz
Forum Moderator
Forum Moderator

Posts : 137
Join date : 2008-03-13
Age : 30
Location : Netherlands!

Back to top Go down

Adding shops =D Empty Re: Adding shops =D

Post by savage Thu Mar 20, 2008 9:31 pm

haha nice

savage
Moderator
Moderator

Posts : 347
Join date : 2008-03-12
Age : 31
Location : USA FTW!!!

Back to top Go down

Adding shops =D Empty Re: Adding shops =D

Post by Mysticpkz Fri Mar 21, 2008 6:34 am

thanks =D
Mysticpkz
Mysticpkz
Forum Moderator
Forum Moderator

Posts : 137
Join date : 2008-03-13
Age : 30
Location : Netherlands!

Back to top Go down

Adding shops =D Empty Re: Adding shops =D

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum