Angel Of Death
Rise Of Tibia ServerOwner
- Joined
- Mar 12, 2012
- Messages
- 91
- Reaction score
- 0
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local playerVoc = getPlayerVocation(cid)
if playerVoc == 13 then <<<< i added this but not working
doRemoveItem(item.uid, 1)
doPlayerAddSoul(cid, 100 - getPlayerSoul(cid))
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
elseif
doPlayerSendCancel(cid, "Sorry, cheats doesnt work for you." <<<< i added this but not working
return true
end
end <<<< i added this but not working