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

Chest with an item with an actionid

OmfgRegister

Active Member
Joined
Mar 7, 2009
Messages
173
Reaction score
49
Basicly i need a chest to give you an item that has a certain action id on it


This is basicly what i need but i need it to work lmao
Code:
local item2 = 2380
item2.actionid = 3200
setItemName(item2, 'Special Item')
doPlayerAddItemEx(cid, item2, true)

anyone have any ideas?

Using TFS .3
 
For those who care:
I figured it out, aparently the docs in tfs0.3.6 are outdated and they removed the functions i was trying to use and replaced them with doItemSetAttribute

I just really wish they would update the DOCs when they realise a new version it would take 5 minutes and save a lot of people from wondering what the hell is wrong for like 5 hours.
 
Back
Top