Área errada, meio confuso, você tentou juntar mais de 3 scripts... :rimbuk:
function onSay(cid, words, param)
local voce1 = 206
local voce2 = 369
local voce3 = 370
local voce4 = 371
local lvl1 = 400
local lvl2 = 50
local lvl3 = 100
local lvl4 = 150
local voc1 = 343
local voc2 = 370
local voc3 = 371
local voc4 = 372
local outfit1 = {lookType=277,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50}
local outfit2 = {lookType=280,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50}
local outfit3 = {lookType=120,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50}
local outfit4 = {lookType=110,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50}
local outfitTime = 10999999
local napis1 = "Aaaaah"
local napis2 = "Transformação"
local effekt1 = 32
local effekt2 = 234
local effekt3 = 243
if getPlayerVocation(cid) == voce1 and getPlayerLevel(cid) >= lvl1 then
doPlayerSetVocation(cid,voc1)
doSetCreatureOutfit(cid, outfit1, outfitTime)
doPlayerSay(cid,napis1,16)
local pos = getPlayerPosition(cid)
doSendMagicEffect(pos,effekt1)
else
doPlayerSendCancel(cid,"Você Não tem level suficiente")
if getPlayerVocation(cid) == voce2 and getPlayerLevel(cid) >= lvl2 then
doPlayerSetVocation(cid,voc2)
doSetCreatureOutfit(cid, outfit2, outfitTime)
doPlayerSay(cid,napis2,16)
local pos = getPlayerPosition(cid)
doSendMagicEffect(pos,effekt1)
else
doPlayerSendCancel(cid,"Você Não tem level suficiente")
if getPlayerVocation(cid) == voce3 and getPlayerLevel(cid) >= lvl3 then
doPlayerSetVocation(cid,voc3)
doSetCreatureOutfit(cid, outfit3, outfitTime)
doPlayerSay(cid,napis2,16)
local pos = getPlayerPosition(cid)
doSendMagicEffect(pos,effekt2)
else
doPlayerSendCancel(cid,"Você Não tem level suficiente")
if getPlayerVocation(cid) == voce4 and getPlayerLevel(cid) >= lvl4 then
doPlayerSetVocation(cid,voc4)
doSetCreatureOutfit(cid, outfit4, outfitTime)
doPlayerSay(cid,napis2,16)
local pos = getPlayerPosition(cid)
doSendMagicEffect(pos,effekt3)
else
doPlayerSendCancel(cid,"Você Não tem level suficiente")
end
return true
end
end
end
end
Veja assim.





info
Grupo: Campones
Registrado: 23/06/11
Posts: 16
Reputação: +11
Gênero: Masculino
Aew galera eu queria ajuda de vcs , eu botei para transformar no talkactions ai tava pegando tudo bem mais quando eu adicionei umas vocações a mais começo da erro falando "você não tem level suficiente" < ! porfavo me ajuda ai olha meu script \/
Se me ajuda do REP!
Editado Junho 24 por Mystogan