Uhm, Heres another boredom script i made. Its like on RL tibia when your pushing over the mammoth. You have to be drunk and the storagevalue there is the storagevalue that you get from the npc to define you started the quest.
Here it is!
Here it is!
Code:
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,5000) and getCreatureCondition(cid, CONDITION_DRUNK) == TRUE then
doPlayerSendTextMessage(cid,19,"You hustle the mammoth! What fun.")
setPlayerStorageValue(cid,5001,1)
elseif getPlayerStorageValue(cid,5000) == FALSE then
doPlayerSendTextMessage(cid,19,"Grrrr...")
else
doPlayerSendTextMessage(cid,19,"You do not dare to hustle the mammoth!")
end
end