sestorme
Member
According to few tutorials with action and unique ID's mine don't work since my black contents blocks don't show up; http://otland.net/f479/how-quests-148708/
this one don't work either, game can't register special quests.
Code:
function onUse(cid, item, frompos, item2, topos)
local storage = specialQuests[item.actionid]
queststatus = getPlayerStorageValue(cid, 9943)
if storage == 2222 and queststatus =< 1 then
doPlayerAddItem(cid, 2420, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found a machete.")
doPlayerSetStorageValue(cid, 9943, 1)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Nothing here.")
end
return 1
end
this one don't work either, game can't register special quests.