View Single Post
  #13  
Old 06-11-2002, 02:51 AM
GrowlZ1010 GrowlZ1010 is offline
defunct
Join Date: May 2002
Posts: 187
GrowlZ1010 is on a distinguished road
Quote:
Originally posted by darkriders_p2p

ya I fixed it, It was pretty easy :P
NPC Code:
if (strequals(#s(hats[#v(i)]),1)) {

Well, you're simulating an array well enough. :P But why one string for every hat? Are you measuring the number of hats in those, or whether or not the player has the hat? If it's the latter, use one string. More efficient, less space, same effect!
Reply With Quote