Hello,gives the key but not the action and does not give the quest as done
You see a copper key (Key:0).
It weighs 1.00 oz.
ItemID: [2089].
im using tfs 0.3.6 thz for all
Sorry for my bad English.
PHP:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 10004 and getPlayerStorageValue(cid, 10004) == -1 then
doPlayerSendTextMessage(cid,22,"You have found a key.")
key = doPlayerAddItem(cid, 2089, 1)
doSetItemActionId(key,3899)
setPlayerStorageValue(cid, 10004,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
return 1
end
You see a copper key (Key:0).
It weighs 1.00 oz.
ItemID: [2089].
im using tfs 0.3.6 thz for all
Sorry for my bad English.