Por MarcioSkate22, 13 de ago. de 2011 em Actions e Talkactions
info
Grupo: Campones
Registrado: 12/08/11
Posts: 91
Reputação: +5
Char no Tibia: 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
Registrado: 12/01/09
Posts: 87
Reputação: +22
Char no Tibia: Creepbreed
Qual a ultilidade disso meu fih?
info
Grupo: Campones
Registrado: 12/08/11
Posts: 91
Reputação: +5
Char no Tibia: 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