NPC Code:
setarray this.items,sarraylen(client.invitems);
for (a=0;a<arraylen(this.items));a++ {
this.items[a] = a;
}
Okay, well isn't "set array this.items,..." setting the array length of this.items? So now that I have it comparing a to the arraylength of this.items, why is it still not working? The array length would be five, since I'm setting the arraylength of this.items to the client strings array length.
It's still not working, can someone tell me what I need to do instead of what I'm not doing right?