• 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!

Lua List of attributes?

bedlamos

New Member
Joined
Dec 11, 2018
Messages
24
Solutions
1
Reaction score
1
Location
USA
I'm trying to figure out how to add an attribute to a key, so far I've only seen:
ITEM_ATTRIBUTE_ATTACK
ITEM_ATTRIBUTE_TEXT

The code that I have so far is to get a wooden key into my backpack -

Code:
backpack:addItem(2087, 1):setAttribute(ITEM_ATTRIBUTE_TEXT, 'Here lies the text.')

but I don't want the key to have text I want it to be key 1500.

Is there a list of 'setAttribute' code that I can look through to help me figure this out?
 
Back
Top