Hello!
Im trying to develop a new script for my server and are currently using item to upgrade equipment. I do it with a action script and have came upon a problem now.
I use the "onUse" function where I pass in: onUse(player, item, fromPosition, target, toPosition, isHotkey) thoose varaibles.
Now if I want to check what item is holding (wich attributes and such) I'm not sure how to print that data out?
If I only use like print(item) I just the the userdata back - so I want to be able to print out all the data of that varaible somehow, any suggestions?
Im trying to develop a new script for my server and are currently using item to upgrade equipment. I do it with a action script and have came upon a problem now.
I use the "onUse" function where I pass in: onUse(player, item, fromPosition, target, toPosition, isHotkey) thoose varaibles.
Now if I want to check what item is holding (wich attributes and such) I'm not sure how to print that data out?
If I only use like print(item) I just the the userdata back - so I want to be able to print out all the data of that varaible somehow, any suggestions?