Hey, what about adding this function:
doSetItemAttribute(uid, key, value)
?????
uid = doPlayerAddItem(cid, itemid, count)
doSetItemAttribute(uid, "healthgain", "10")
idk if that healthgain even exists, but however I think you get the point?
Also:
doSetItemAttribute(uid, "healthgain")
As you see, value is nil! That means "healthgain" is removed from that item
Ok?
doSetItemAttribute(uid, key, value)
?????
uid = doPlayerAddItem(cid, itemid, count)
doSetItemAttribute(uid, "healthgain", "10")
idk if that healthgain even exists, but however I think you get the point?
Also:
doSetItemAttribute(uid, "healthgain")
As you see, value is nil! That means "healthgain" is removed from that item
Ok?