Ir para conteúdo

ajuda colocar transformações para premium


joseanpereira

Posts Recomendados

gente meus 2 scripter e a sim ele faz a quest e ganha a storage ai ele fala

>>>legendary<<< e vira ssj6.

 

e o outro também tem que fazer a quest e ganha a storage so que essa ele fala >>fury<<< eu quero colocar elas para premium

 

 

exemplo

o player faz a quest mas se não for premium ele não se transforma aparece a mensagem vc presida ser premium

 

o script e em talkaction

 

scripter

 

legendary

 

 

local he = 9000
local ma = 12000
local gotenks = {lookType=42}
local janemba = {lookType=227}
local yamcha = {lookType=235}
local goku = {lookType=170}
local bardock = {lookType=71}
local uub = {lookType=43}
local cell = {lookType=67}
local c17 = {lookType=79}
local c18 = {lookType=106}
local freeza = {lookType=265}
local cooler = {lookType=123}
local tsuful = {lookType=198}
local piccolo = {lookType=175}
local dende = {lookType=250}
local vegeta = {lookType=127}
local trunks = {lookType=182}
local gohan = {lookType=354}
local brolly = {lookType=21}
local xicor = {lookType=326}
local c16 = {lookType=306}
local raditz = {lookType=297}
function onSay(cid, words, param)
if exhaustion.get(cid, 109) then
doPlayerSendCancel(cid, 'Slow down.')
return true
end
exhaustion.set(cid, 109, 1)

---Goku---
if getPlayerVocation(cid) == 12 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,13)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, goku)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Goku! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Bardock---
elseif getPlayerVocation(cid) == 25 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,26)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, bardock)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Bardock! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Yamcha---
elseif getPlayerVocation(cid) == 284 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,285)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, yamcha)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Yamcha! You must learn this transformation.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Janemba---
elseif getPlayerVocation(cid) == 271 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,272)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, janemba)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Janemba! You must learn this transformation.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Raditz---
elseif getPlayerVocation(cid) == 254 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,255)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, raditz)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Raditz! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---C16---
elseif getPlayerVocation(cid) == 241 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,242)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, c16)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "C16! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Uub---
elseif getPlayerVocation(cid) == 38 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,39)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, uub)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Uub! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Cell---
elseif getPlayerVocation(cid) == 51 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,52)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, cell)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Cell! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---C17---
elseif getPlayerVocation(cid) == 64 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,65)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, c17)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "C17! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---C18---
elseif getPlayerVocation(cid) == 77 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,78)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, c18)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "C18! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Freeza---
elseif getPlayerVocation(cid) == 90 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,91)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, freeza)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Freeza! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Cooler---
elseif getPlayerVocation(cid) == 103 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,104)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, cooler)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Cooler! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Tsuful---
elseif getPlayerVocation(cid) == 116 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,117)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, tsuful)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Tsuful! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Piccolo---
elseif getPlayerVocation(cid) == 129 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,130)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, piccolo)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Piccolo! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Dende---
elseif getPlayerVocation(cid) == 142 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,143)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, dende)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Dende! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Vegeta---
elseif getPlayerVocation(cid) == 155 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,156)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, vegeta)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Vegeta! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Trunks---
elseif getPlayerVocation(cid) == 168 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,169)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, trunks)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Trunks! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Gohan---
elseif getPlayerVocation(cid) == 181 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,182)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, gohan)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Gohan! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Brolly---
elseif getPlayerVocation(cid) == 194 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,195)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, brolly)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Brolly! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Gotenks---
elseif getPlayerVocation(cid) == 209 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,210)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, gotenks)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Gotenks! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Xicor---
elseif getPlayerVocation(cid) == 222 then
if getPlayerStorageValue(cid, 9997) >= 1 and getPlayerLevel(cid) >= 550 then
doPlayerSetVocation(cid,223)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, xicor)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Legend!", 1)


else
doPlayerSendCancel(cid, "Xicor! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 550.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
--- End ---
else
doPlayerSendCancel(cid, "You must learn this transformation.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
return 0
end

 

 

 

fury

 

 

local he1 = 5000
local ma1 = 7000
local gotenks1 = {lookType=33}
local janemba1 = {lookType=226}
local yamcha1 = {lookType=236}
local goku1 = {lookType=169}
local bardock1 = {lookType=36}
local uub1 = {lookType=41}
local cell1 = {lookType=80}
local c171 = {lookType=51}
local c181 = {lookType=105}
local freeza1 = {lookType=264}
local cooler1 = {lookType=120}
local tsuful1 = {lookType=197}
local piccolo1 = {lookType=174}
local dende1 = {lookType=249}
local vegeta1 = {lookType=126}
local trunks1 = {lookType=98}
local gohan1 = {lookType=11}
local brolly1 = {lookType=45}
local xicor1 = {lookType=346}
function onSay(cid, words, param)
if exhaustion.get(cid, 108) then
doPlayerSendCancel(cid, 'Slow down.')
return true
end
exhaustion.set(cid, 108, 1)
local c16 = {lookType=308}
local raditz = {lookType=298}


---Goku---
if getPlayerVocation(cid) == 11 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,12)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, goku1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Goku! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Bardock---
elseif getPlayerVocation(cid) == 24 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,25)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, bardock1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Bardock! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end

---Yamcha---
elseif getPlayerVocation(cid) == 283 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,284)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, yamcha1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Yamcha! You must learn this transformation.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Janemba---
elseif getPlayerVocation(cid) == 270 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,271)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, janemba1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Janemba! You must learn this transformation.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Raditz---
elseif getPlayerVocation(cid) == 253 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,254)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, raditz)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Raditz! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---C16---
elseif getPlayerVocation(cid) == 240 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,241)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, c16)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "C16! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Uub---
elseif getPlayerVocation(cid) == 37 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,38)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, uub1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Uub! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Cell---
elseif getPlayerVocation(cid) == 50 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,51)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, cell1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Cell! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---C17---
elseif getPlayerVocation(cid) == 63 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,64)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, c171)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "C17! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---C18---
elseif getPlayerVocation(cid) == 76 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,77)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, c181)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "C18! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Freeza---
elseif getPlayerVocation(cid) == 89 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,90)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, freeza1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Freeza! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Cooler---
elseif getPlayerVocation(cid) == 102 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,103)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, cooler1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Cooler! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Tsuful---
elseif getPlayerVocation(cid) == 115 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,116)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, tsuful1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Tsuful! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Piccolo---
elseif getPlayerVocation(cid) == 128 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,129)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, piccolo1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Piccolo! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Dende---
elseif getPlayerVocation(cid) == 141 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,142)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, dende1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Dende! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Vegeta---
elseif getPlayerVocation(cid) == 154 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,155)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, vegeta1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Vegeta! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Trunks---
elseif getPlayerVocation(cid) == 167 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,168)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, trunks1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Trunks! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Gohan---
elseif getPlayerVocation(cid) == 180 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,181)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, gohan1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Gohan! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Brolly---
elseif getPlayerVocation(cid) == 193 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,194)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, brolly1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Brolly! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Gotenks---
elseif getPlayerVocation(cid) == 208 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,209)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, gotenks1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Gotenks! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---Xicor---
elseif getPlayerVocation(cid) == 221 then
if getPlayerStorageValue(cid, 9998) >= 1 and getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,222)
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+he1)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)+ma1)
doCreatureAddHealth(cid, 1)
doCreatureAddMana(cid, 1)
doCreatureChangeOutfit(cid, xicor1)
doSendMagicEffect(getPlayerPosition(cid), 106)
doSendAnimatedText(getCreaturePosition(cid), "Fury!", 150)


else
doPlayerSendCancel(cid, "Xicor! Você deve aprender essa transformação se ja aprendeu você tem que ter lvl 400.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
--- End ---
else
doPlayerSendCancel(cid, "Sorry.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
return 0
end

 

 

 

Editado por joseanpereira
Link para o comentário
Compartilhar em outros sites

ATENÇÂO esse escripter e em talkactions

 

talkactions.xml

 

 

 

<?xml version="1.0" encoding="UTF-8"?>
<talkactions>
<!-- Gods -->
<talkaction log="yes" words="/addskill" access="5" event="function" value="addSkill"/>
<talkaction log="yes" words="/attr" access="5" event="function" value="thingProporties"/>
<talkaction log="yes" words="/serverdiag" access="5" event="function" value="diagnostics"/>
<talkaction log="yes" words="/closeserver" access="5" event="script" value="closeopen.lua"/>
<talkaction log="yes" words="/openserver" access="5" event="script" value="closeopen.lua"/>
<talkaction log="yes" words="/promote;/demote" access="5" event="script" value="promote.lua"/>
<talkaction log="yes" words="/shutdown" access="5" event="script" value="shutdown.lua"/>
<talkaction log="yes" access="5" words="/mode" event="script" value="mode.lua"/>

<!-- Community Managers -->
<talkaction log="yes" words="/s" access="4" event="script" value="summon.lua"/>
<talkaction log="yes" words="/n" access="5" event="script" value="creature.lua"/>
<talkaction log="yes" words="/m" access="5" event="script" value="creature.lua"/>
<talkaction log="yes" words="/reload" access="4" event="script" value="reload.lua"/>
<talkaction log="yes" words="/raid" access="4" event="script" value="raid.lua"/>
<talkaction log="yes" words="/newtype" access="4" event="script" value="newtype.lua"/>
<talkaction log="yes" words="/r" access="5" event="script" value="remove.lua"/>
<talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/>
<talkaction log="yes" words="/storage" access="4" event="script" value="storage.lua"/>
<talkaction log="yes" words="/config" access="4" event="script" value="configinfo.lua"/>
<talkaction log="yes" words="/i" access="5" event="script" value="createitem.lua"/>
<talkaction access="4" words="/z" event="script" value="magiceffect.lua"/>
<talkaction access="4" words="/x" event="script" value="animationeffect.lua"/>
<talkaction access="4" words="/y" event="script" value="animatedtext.lua"/>
<talkaction log="yes" words="/bc" access="4" event="script" value="broadcastclass.lua"/>
<talkaction log="yes" access="4" words="/mkick" event="script" value="masskick.lua"/>

<!-- Gamemasters -->
<talkaction log="yes" words="/ghost" access="3" event="function" value="ghost"/>
<talkaction log="yes" words="/squelch" access="3" event="script" value="gamemaster.lua"/>
<talkaction log="yes" words="/cliport" access="3" event="script" value="gamemaster.lua"/>
<talkaction log="yes" words="/t" access="3" event="script" value="teleportmaster.lua"/>
<talkaction log="yes" words="/c" access="3" event="script" value="teleporthere.lua"/>
<talkaction log="yes" words="/goto" access="3" event="script" value="teleportto.lua"/>
<talkaction log="yes" words="/a" access="3" event="script" value="teleporttiles.lua"/>
<talkaction log="yes" words="/kick" access="4" event="script" value="kick.lua"/>
<talkaction log="yes" words="/send" access="3" event="script" value="teleportsend.lua"/>
<talkaction log="yes" words="/unban" access="3" event="script" value="unban.lua"/>
<talkaction log="yes" words="/town" access="3" event="script" value="teleporttown.lua"/>
<talkaction log="yes" words="/up" access="3" event="script" value="teleportfloor.lua"/>
<talkaction log="yes" words="/down" access="3" event="script" value="teleportfloor.lua"/>
<talkaction log="yes" words="/save" access="3" event="script" value="save.lua"/>
<talkaction log="yes" words="/clean" access="3" event="script" value="clean.lua"/>
<talkaction log="yes" words="/reports" access="3" event="script" value="reports.lua"/>
<talkaction log="yes" words="/mc" access="3" event="script" value="multicheck.lua"/>
<talkaction log="yes" access="3" words="/wp" event="script" value="waypoints.lua"/>

<!-- Senior Tutors -->
<talkaction log="yes" words="/notations" access="2" event="script" value="notations.lua"/>
<talkaction log="yes" words="/info" access="2" event="script" value="playerinfo.lua"/>
<talkaction log="yes" words="/gethouse" access="2" event="script" value="gethouse.lua"/>
<talkaction log="yes" access="2" words="/b" event="script" value="broadcast.lua"/>

<!-- Tutors -->
<talkaction log="yes" words="/baninfo" access="2" event="function" value="banishmentInfo"/>
<talkaction log="yes" access="2" words="/pos" event="script" value="position.lua"/>

<!-- Players -->
<talkaction words="revert" hide="yes" event="script" value="revert.lua"/>
<talkaction words="fusion" hide="yes" event="script" value="fusion.lua"/>
<talkaction words="transform" hide="yes" event="script" value="transform.lua"/>
<talkaction words="ultra" hide="yes" event="script" value="ultra strong.lua"/>
<talkaction words="fury" hide="yes" event="script" value="fury strong.lua"/>
<talkaction words="legendary" hide="yes" event="script" value="legendary strong.lua"/>
<talkaction words="!frags" event="script" value="frags.lua"/>
<talkaction words="!teleport" event="script" value="teleport.lua"/>
<talkaction words="!info" event="script" value="info.lua"/>

<!-- (Deprecated) Redirect old '/' to '!' -->
<talkaction words="/online" acces="5" hide="yes" event="script" value="online.lua"/>
</talkactions>

 

 

Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...
×
×
  • Criar Novo...