JU

Alguem Em Corriga

Por juanbrando, 01 de ago. de 2011 em Archived

script
6
598
juanbrandoJ
01 de agosto de 2011 às 18:31

function onSay(cid, words, param)

elseif getPlayerVocation(cid) == 26 and getPlayerLevel(cid) >= 120 then
doPlayerSetPromotionLevel(cid, 27)
doPlayerSendTextMessage(cid, 22, "Você é um  royal paladin")
doCreatureChangeOutfit( cid, {lookType = 42} )

elseif getPlayerVocation(cid) == 27 and getPlayerLevel(cid) >= 650 then
doPlayerSetPromotionLevel(cid, 28)
doPlayerSendTextMessage(cid, 22, "Você é um evil paladin")
doCreatureChangeOutfit( cid, {lookType = 46} )

elseif getPlayerVocation(cid) == 28 and getPlayerLevel(cid) >= 800 then
doPlayerSetPromotionLevel(cid, 29)
doPlayerSendTextMessage(cid, 22, "Você é um kamikaze paladin")
doCreatureChangeOutfit( cid, {lookType = 53} )

elseif getPlayerVocation(cid) == 29 and getPlayerLevel(cid) >= 1000 then
doPlayerSetPromotionLevel(cid, 30)
doPlayerSendTextMessage(cid, 22, "Você é um Fatal Paladin)
doCreatureChangeOutfit( cid, {lookType = 92} )
end
end

 

A 1ª TRANSFORMAÇÂO VAI MAIS APARTIR DA 2º TRANSFORM JÀ NÂO RODA EU ERREI ALGUMA COISA OU ESSE SCRIPT è FALHO ??

SE FOR FALHO ME MANDEM UM (EDITAVEL SE POSSIVEL)

Editado Agosto 1 por SuperTnT

MatheuzinhoulM
01 de agosto de 2011 às 20:14

Bom, eu percebi que o final ficou todo verde (ty bbcode)...

elseif getPlayerVocation(cid) == 29 and getPlayerLevel(cid) >= 1000 then

doPlayerSetPromotionLevel(cid, 30)

doPlayerSendTextMessage(cid, 22, "Você é um Fatal Paladin)

doCreatureChangeOutfit( cid, {lookType = 92} )

Não acha que falta algo ali?

Anyway, dá uma testada pra ver se com isso funciona.

Editado Agosto 1 por MatheusGuedes

SkyDangerousS
01 de agosto de 2011 às 20:32

/\

 

É PQ ELE NAO FECHOU AS ""

 

elseif getPlayerVocation(cid) == 29 and getPlayerLevel(cid) >= 1000 then
doPlayerSetPromotionLevel(cid, 30)
doPlayerSendTextMessage(cid, 22, "Você é um Fatal Paladin)
doCreatureChangeOutfit( cid, {lookType = 92} )
end
end

 

ASSIM

 

elseif getPlayerVocation(cid) == 29 and getPlayerLevel(cid) >= 1000 then
doPlayerSetPromotionLevel(cid, 30)
doPlayerSendTextMessage(cid, 22, "Você é um Fatal Paladin")
doCreatureChangeOutfit( cid, {lookType = 92} )
end
end

 

-=

Eu estava tentando fazer aqui , porém tibia está dando erro e não dá para logar por causa do ip change.

 

function onSay(cid, words, param , channel)

if(param == 'promotion') then
if getPlayerVocation(cid) == 26 and getPlayerLevel(cid) >= 120 then
doPlayerSetPromotionLevel(cid, 27)
doPlayerSendTextMessage(cid, 22, "Você é um  royal paladin")
doCreatureChangeOutfit( cid, {lookType = 42} )
end
return True
end
end

Editado Agosto 1 por SkyDangerous

albereA
01 de agosto de 2011 às 20:38

nao é pq ta sem aspas no final e pq nao tem essas vocaçoes no seu ot ?

Editado Agosto 1 por Albere

albereA
01 de agosto de 2011 às 20:38

'-'

Editado Agosto 1 por Albere

SkyDangerousS
01 de agosto de 2011 às 20:41

@ Albere

 

Cuidado você fez double post e ainda floodou.

Preste mais atenção da próxima vez !