Tibiamakers
yourolist.com
Code:
local ghazbaranstorage = 10001
local ghazbaranteleport = {x=552, y=645, z=3} --Location to teleport to on the map if you pull the lever
--ghazbaran Kill
if item.uid == 1 then
queststatus = getPlayerStorageValue(cid,ghazbaranstorage)
if queststatus == 1 then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Congratulations Blackland habitant you have defeated a Ghazbaran, take you reward.")
doTeleportThing(cid,ghazbaranteleport)
doSendMagicEffect(ghazbaranteleport,10)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You need to defeat a ghazbaran to use this lever.")
end
end
end
Can't find an error in line 5 :huh:
