local key = 1005
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 2557 and itemEx.itemid == 5361 then
if getPlayerStorageValue(cid, key) == 1 then
setPlayerStorageValue(cid, key, 2)
doCreatureSay(cid, 'Success', TALKTYPE_ORANGE_1)
elseif getPlayerStorageValue(cid, key) == 2 then
doCreatureSay(cid, 'You already fixed the sign', TALKTYPE_ORANGE_1)
else
doCreatureSay(cid, 'You need a hammer', TALKTYPE_ORANGE_1)
end
end
return true
end