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

Requesting a key for a door (read this, i already know how to do but...)

Joined
Jun 19, 2009
Messages
1,852
Reaction score
5
Hello.

I've put the key's actionid to the doors ID or the opposite... anyway, it works. But if I summon the key (/i), lets say crystal key, if i summon it, it won't work... only the one in the mapeditor


tell me if u dont understand me, just woke up and im dizzy lol

thanks,

mary
 
Tell me if I am doing right now :p;

actions/scripts/other
crystal key.lua

Code:
local key = doPlayerAddItem(cid, 2090)
doSetItemActionId(key, 2090)
(the itemid for the key is 2090, the actionid aswell)

and in actions/actions.xml
Code:
<action actionid="2090" event="script" value="other/crystal key.lua"/>

I am using TFS 0.3.4 if it helps.
 
Back
Top