miquelito97
New Member
- Joined
- Apr 4, 2010
- Messages
- 53
- Reaction score
- 0
I Have a problem with my quest system.
When i click in the quest it dont give me anything!
Thank You
When i click in the quest it dont give me anything!
local storage = 4918411
local reward = 2553
local count = 1
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 1740 or item.itemid == 1747 or item.itemid == 1748 or item.itemid == 1749 then
if getPlayerStorageValue(cid, storage) == -1 then
doPlayerAddItem(cid, reward, count)
setPlayerStorageValue(cid, storage, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You found a Pick!")
return true
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.")
return true
end
end
end
Thank You