Making a new max amount of items

were would i change the max amount of items. i want it so they can only pick up 10 then if they have 10 a message says “your bag is full.” and it wont let you pick up the item

Public Const MAX_INV = 24

In both server and client. Change those and remove the picInvs from frmMirage.

thanks for the help, now im getting a weird error for something with spells i get run time error"9" subscript out of range and it highlights this:
frmMirage.lstSpells.addItem i & ": " & Trim$(Spell(Player(MyIndex).Spell(i)).Name)

Log in to reply