Quote:
Originally Posted by q1085909155
In use! giveitemp is given to multiple players
L 05/01/2023 - 13:49:26: [SM] Exception reported: Array index out-of-bounds (index 12, limit 12)
L 05/01/2023 - 13:49:26: [SM] Blaming: gimme.smx
L 05/01/2023 - 13:49:26: [SM] Call stack trace:
L 05/01/2023 - 13:49:26: [SM] [1] Line 155, gimme.sp::GivePermItems
|
That error will occur when you attempt to give a target player more than 12 items. See note 3 in original post which states:
Quote:
Note3: You can give yourself up to 12 permanent items. If the latest item conflicts with a previous item the previous item will be removed. All items are given to you every time you spawn or touch a locker. This will continue to happen until you change class or use the !resetp command (or Admin uses !removep command on player).
|
You can always use !removep to reset the permanent status of the target. That way you can give up to 12 new items.