By MarcioSkate22, 13 de ago. de 2011 in Actions e Talkactions
info
Group: Campones
Joined: 12/08/11
Posts: 91
Reputation: +5
Tibia Character: Herculean Strength
--by Henrique Alves
function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) >= 10
then
doSendAnimatedText(getPlayerPosition(cid), "AhhHah...", 105)
doPlayerAddHealth(cid, math.random(9000000, 10000000)
doPlayerAddMana(cid, math.random(9999999, 99999999)
doTransformItem(item.uid, (5739)
doSendMagicEffect(topos, 12)
else
doPlayerSendTextMessage(cid,22,"Vc num e lvl 10.")
return 0
end
return 1
Script /\ pode ser assim
Joined: 12/01/09
Posts: 87
Reputation: +22
Tibia Character: Creepbreed
Qual a ultilidade disso meu fih?
info
Group: Campones
Joined: 12/08/11
Posts: 91
Reputation: +5
Tibia Character: Herculean Strength
--by Henrique Alves
function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) >= 10
then
doSendAnimatedText(getPlayerPosition(cid), "AhhHah...", 105)
doPlayerAddHealth(cid, math.random(9000000, 10000000)
doPlayerAddMana(cid, math.random(9999999, 99999999)
doTransformItem(item.uid, (5739)
doSendMagicEffect(topos, 12)
else
doPlayerSendTextMessage(cid,22,"Vc num e lvl 10.")
return 0
end
return 1
Script /\ pode ser assim