• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Attributes on items!

Colandus

Advanced OT User
Senator
Joined
Jun 6, 2007
Messages
2,434
Solutions
19
Reaction score
219
Location
Sweden
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 :p


Ok? :D
 
yeah, this function will be awesome ;( but noone want to make ;(
 
not at that time, but i think it is now (not 100% sure)
 
well, elf added basics for this, but not implanted all attributes yet
 
Back
Top