swashed
Member
- Joined
- Jul 9, 2023
- Messages
- 75
- Reaction score
- 8
The only function I seem to currently have access to is getPlayerItemCount which returns only a number. I am not sure how I can reference these items individually.
Context:
I have an auto-runemaking script that doesn't require the blank rune to be in your hand. So long as you have 1 blank rune in your inventory, it will consume the rune and give you the new rune. The problem is that the new rune is given to the player, which is placed in their main container.
I am trying to reference the blank rune's uid so I can call doPlayerTransformItem, which require the item's uid.
Lua:
getPlayerItemCount(cid, item_id)
Context:
I have an auto-runemaking script that doesn't require the blank rune to be in your hand. So long as you have 1 blank rune in your inventory, it will consume the rune and give you the new rune. The problem is that the new rune is given to the player, which is placed in their main container.
I am trying to reference the blank rune's uid so I can call doPlayerTransformItem, which require the item's uid.
Post automatically merged: