Ir para conteúdo

Featured Replies

Postado

Pessoal Eu sei q tem varios tutoriais mas eu n Consigui aprender a criar alguem pode me ajudar eu tenho algumas perguntas Olhá.

 

Como eu vou colocar a Imagen ( bonequinho ) da vocação ?

e como eu crio a vocação ? 

 

Por favor se for me ajudar explique onde eu coloco cada coisa q nao sou muito esperto nisso kk oks Obrg Por favor ajudem-me Obrg.

 

Rep +++++

  • Respostas 7
  • Visualizações 2.3k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • local config = { --[vocation id] = { level, id vocation do xml, outfit voce ver pelo dat editor ou programa que voce abre suas spriter , efeito} [1] = { 50, 2, 18, 0}, } function onSay(cid, words,

Postado

local config = {
--[vocation id] = { level, id vocation do xml, outfit voce ver pelo dat editor ou programa que voce abre suas spriter , efeito}
[1] = { 50, 2, 18, 0},
}
function onSay(cid, words, param, channel)
local from,to = {x=1001, y=705, z=7},{x=1031, y=737, z=7} -- começo e final do mapa
local from2,to2 = {x=1011, y=705, z=6},{x=1031, y=738, z=6} -- começo e final do mapa
local from3,to3 = {x=1012, y=706, z=5},{x=1032, y=739, z=5} -- começo e final do mapa
local from4,to4 = {x=985, y=598, z=7},{x=1044, y=652, z=7} -- começo e final do mapa
local from5,to5 = {x=986, y=615, z=6},{x=1039, y=647, z=7} -- começo e final do mapa
local from6,to6 = {x=990, y=616, z=5},{x=1040, y=647, z=5} -- começo e final do mapa
if isInRange(getCreaturePosition(cid), from, to) or isInRange(getCreaturePosition(cid), from2, to2) or isInRange(getCreaturePosition(cid), from3, to3) or isInRange(getCreaturePosition(cid), from4, to4) or isInRange(getCreaturePosition(cid), from5, to5) or isInRange(getCreaturePosition(cid), from6, to6) then
doPlayerSendCancel(cid, "Voce nao pode se Transformar nesta area!") return true
end
doPlayerSay(cid, "transformar")
local voc = config[getPlayerVocation(cid)]
if voc then
if getPlayerLevel(cid) >= voc[1] then
doPlayerSetVocation(cid, voc[2])
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce Transformou!")
local outfit = {lookType = voc[3]}
doCreatureChangeOutfit(cid, outfit)
doSendMagicEffect(getCreaturePosition(cid), voc[4])
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce precisa estar no level " .. voc[1] .. " para transformar.")
end
else
doPlayerSendCancel(cid, "Voce nao pode se Transformar!")
end
return true
end

Editado por nick novaisdbo (veja o histórico de edições)

Postado
  • Autor

local config = {

--[vocation id] = { level, id vocation do xml, outfit voce ver pelo dat editor ou programa que voce abre suas spriter , efeito}

[1] = { 50, 2, 18, 0},

}

function onSay(cid, words, param, channel)

local from,to = {x=1001, y=705, z=7},{x=1031, y=737, z=7} -- começo e final do mapa

local from2,to2 = {x=1011, y=705, z=6},{x=1031, y=738, z=6} -- começo e final do mapa

local from3,to3 = {x=1012, y=706, z=5},{x=1032, y=739, z=5} -- começo e final do mapa

local from4,to4 = {x=985, y=598, z=7},{x=1044, y=652, z=7} -- começo e final do mapa

local from5,to5 = {x=986, y=615, z=6},{x=1039, y=647, z=7} -- começo e final do mapa

local from6,to6 = {x=990, y=616, z=5},{x=1040, y=647, z=5} -- começo e final do mapa

if isInRange(getCreaturePosition(cid), from, to) or isInRange(getCreaturePosition(cid), from2, to2) or isInRange(getCreaturePosition(cid), from3, to3) or isInRange(getCreaturePosition(cid), from4, to4) or isInRange(getCreaturePosition(cid), from5, to5) or isInRange(getCreaturePosition(cid), from6, to6) then

doPlayerSendCancel(cid, "Voce nao pode se Transformar nesta area!") return true

end

doPlayerSay(cid, "transformar")

local voc = config[getPlayerVocation(cid)]

if voc then

if getPlayerLevel(cid) >= voc[1] then

doPlayerSetVocation(cid, voc[2])

doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce Transformou!")

local outfit = {lookType = voc[3]}

doCreatureChangeOutfit(cid, outfit)

doSendMagicEffect(getCreaturePosition(cid), voc[4])

else

doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce precisa estar no level " .. voc[1] .. " para transformar.")

end

else

doPlayerSendCancel(cid, "Voce nao pode se Transformar!")

end

return true

end

 Ei cara vlw por ajudar mas mano Explica melhor ae Por favor onde eu coloco Isso e uq eu faço nao entendi nada'-' 

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo