A Dirty Rag
Active Member
- Joined
- Mar 31, 2014
- Messages
- 147
- Reaction score
- 32
I'm trying to change the attribute of an item that each player will permanently have and the attribute needs to be different for each player based on certain parameters. I was trying to get a basic script working by adding this to login.lua, but it's not working could anyone point me in the right direction? TFS 1.0
See my last post before trying to fix V
also tried this
See my last post before trying to fix V
Code:
local item = getPlayerItemById(cid, true, 5954)
doSetItemText(item.uid, "testing")
also tried this
Code:
local item = getPlayerItemById(cid, true, 5954)
item.uid:setAttribute(ITEM_ATTRIBUTE_DESCRIPTION, "testing")
Last edited: