• 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 Items lossing actionID

jeybi

New Member
Joined
Oct 6, 2008
Messages
39
Reaction score
1
Hello.

I have a problem with this code

PHP:
    local ritem = doCreateItemEx(reward.id)			
			
     doSetItemActionId(ritem, reward.aid)
     doSetItemSpecialDescription(ritem, "Description here")
     doPlayerAddItemEx(cid, ritem, true)

The player get the item whit an actionid and a special description, but when you throw the it into the ground it loss its properties. Do anyone knows why this happens ?

Maybe im using wrong functions, Is there any another way to create an special item ?

Thank you.
 
Back
Top