Hello,
Why this script dont work ?:
The key dont have key number and actionid of doors...
TFS 0.3.6pl1
Why this script dont work ?:
LUA:
function onUse(cid, item, frompos, item2, topos)
queststatus = getPlayerStorageValue(cid,4603)
if queststatus == -1 then
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a key, number: 4603.")
doSetItemActionId(doPlayerAddItem(cid,2088,1),4603)
setPlayerStorageValue(cid,4603,1)
else
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "This is empty.")
end
return 1
end
TFS 0.3.6pl1