Tuchol
falania.com
Hi,
I do not know if I wrote it right but it doesn't work... 0 errors in console can you help me?
I do not know if I wrote it right but it doesn't work... 0 errors in console can you help me?
Code:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 44423 and item.itemid == 8539 then
doSummonCreature("Bat", {x = 1459, y = 227, z = 7})
setGlobalStorageValue(200, 1)
addEvent(setGlobalStorageValue, 1 * 60 * 60 * 1000, 200, -1)
else
doPlayerSendTextMessage(cid, 22, "You must wait 10 minutes to next boss")
end
return TRUE
end