eduardbean
Member
- Joined
- Nov 26, 2010
- Messages
- 129
- Solutions
- 2
- Reaction score
- 16
I wanted to return the attribute set by me, with the getAttribute function however it does not work and only returns "nil"
how can I use it to return what I need?
Code:
[/CENTER]
function onUse(cid, item, itemEx, fromPosition, toPosition)
Item(item.uid):setAttribute("Test", "123465")
print( Item(item.uid):getAttribute("Test"))
end
how can I use it to return what I need?
Last edited: