vou dar uma dica como nao vi nada de diferente troque a mensagem e cada transform ai vc vai saber aonde ta errado.
- Fórum
- xTibia - Notícias e Suporte
- Soluções
- Archived
- [Ajuda] Script De Talkactions
info
Grupo: Visconde
Registrado: 15/02/11
Posts: 259
Reputação: +25
Char no Tibia: Aias Laf Du

info
Grupo: Campones
Registrado: 23/06/11
Posts: 16
Reputação: +11
Gênero: Masculino

é na ultima parte
function onSay(cid, words, param)
local voce = 371
local lvl = 150
local voc = 372
local outfit = {lookType=110,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50}
local outfitTime = 10999999
local napis = "Transformação"
local effekt = 243
----------------------kod-----------------------------
if getPlayerVocation(cid) == voce and getPlayerLevel(cid) >= lvl then
doPlayerSetVocation(cid,voc)
doSetCreatureOutfit(cid, outfit, outfitTime)
doPlayerSay(cid,napis,16)
local pos = getPlayerPosition(cid)
doSendMagicEffect(pos,effekt)
else
doPlayerSendCancel(cid,"Você Não tem level suficiente")
end
return 1
end
porisso q nao ta dando mais nao sei oq fazer plx ajuda ai !
Editado Junho 25 por Mystogan


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 \/
function onSay(cid, words, param) local voce = 206 local lvl = 400 local voc = 343 local outfit = {lookType=277,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50} local outfitTime = 10999999 local napis = "Aaaaah" local effekt = 32 ----------------------kod----------------------------- if getPlayerVocation(cid) == voce and getPlayerLevel(cid) >= lvl then doPlayerSetVocation(cid,voc) doSetCreatureOutfit(cid, outfit, outfitTime) doPlayerSay(cid,napis,16) local pos = getPlayerPosition(cid) doSendMagicEffect(pos,effekt) else doPlayerSendCancel(cid,"Você Não tem level suficiente") end return 1 end function onSay(cid, words, param) local voce = 369 local lvl = 50 local voc = 370 local outfit = {lookType=280,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50} local outfitTime = 10999999 local napis = "Transformação" local effekt = 32 ----------------------kod----------------------------- if getPlayerVocation(cid) == voce and getPlayerLevel(cid) >= lvl then doPlayerSetVocation(cid,voc) doSetCreatureOutfit(cid, outfit, outfitTime) doPlayerSay(cid,napis,16) local pos = getPlayerPosition(cid) doSendMagicEffect(pos,effekt) else doPlayerSendCancel(cid,"Você Não tem level suficiente") end return 1 end function onSay(cid, words, param) local voce = 370 local lvl = 100 local voc = 371 local outfit = {lookType=120,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50} local outfitTime = 10999999 local napis = "Transformação" local effekt = 234 ----------------------kod----------------------------- if getPlayerVocation(cid) == voce and getPlayerLevel(cid) >= lvl then doPlayerSetVocation(cid,voc) doSetCreatureOutfit(cid, outfit, outfitTime) doPlayerSay(cid,napis,16) local pos = getPlayerPosition(cid) doSendMagicEffect(pos,effekt) else doPlayerSendCancel(cid,"Você Não tem level suficiente") end return 1 end function onSay(cid, words, param) local voce = 371 local lvl = 150 local voc = 372 local outfit = {lookType=110,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50} local outfitTime = 10999999 local napis = "Transformação" local effekt = 243 ----------------------kod----------------------------- if getPlayerVocation(cid) == voce and getPlayerLevel(cid) >= lvl then doPlayerSetVocation(cid,voc) doSetCreatureOutfit(cid, outfit, outfitTime) doPlayerSay(cid,napis,16) local pos = getPlayerPosition(cid) doSendMagicEffect(pos,effekt) else doPlayerSendCancel(cid,"Você Não tem level suficiente") end return 1 endSe me ajuda do REP!
Editado Junho 25 por Demonbholder