Thread: help for my hat
View Single Post
  #3  
Old 03-04-2002, 04:26 AM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
Re: help for my hat

Quote:
Originally posted by darkriders_p2p
Ok I have my hat NPC and its basically finished from my point of view.But Now I want to add another part:
When I pick up the NPC I want it to enable only 3 hats (mine lets you use all of them).And I want to make it so only buying hats will allow you to wear more.I think I would just use arrays but not sure exactly how.It would be easy if I could use keydown and it will go through all the arrays that were equal to 1.Please help me on how I would go about this
Yap you can make a string list... If the player has the weapon he has 3 hats in the list..
If the player buy a hat add to the list.
Use NC to upgrade the hat item and add more hats.
Reply With Quote