Ir para conteúdo

Featured Replies

Postado

Olá,

 

Alguem pode me ajudar com um script que faz com que o player usa o item e ele passa a ter o Outfit x, e preciso tambem para as mounts.

 

obrigado :D

Antica Global - Server Online

 

SITE: http://anticaglobal.com/

IP: anticaglobal.com
EXP: 999x [sTAGES]
ML: 300x
SKILL: 500x
LOOT: 10x
 
VERSÃO: 10.77
PORTA: 7171
 
Stages:
1 - 8 level, 999x
9 - 20 level, 950x
21 - 50 level, 800x
51 - 100 level, 750x
101 - 130 level, 650x
131 - 180 level, 550x
181 - 230 level, 450x
231 - 300 level, 350x
301+ level, 300x
 
  • Respostas 6
  • Visualizações 976
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Tenta assim     lembrando que você tem que alterar o ID da outfit nessa parte aqui também    doPlayerAddOutfit(cid, 269, 1) doPlayerAddOutfit(cid, 268, 1)

  • Peguei do addon doll e fiz isso: function onSay(player, words, param) local outfits = { --[outfit] = {id_female, id_male} ["cave explorer"] = {575, 574}, ["dream warden"] = {578, 577}, [

Postado
  • Autor

permanente

Antica Global - Server Online

 

SITE: http://anticaglobal.com/

IP: anticaglobal.com
EXP: 999x [sTAGES]
ML: 300x
SKILL: 500x
LOOT: 10x
 
VERSÃO: 10.77
PORTA: 7171
 
Stages:
1 - 8 level, 999x
9 - 20 level, 950x
21 - 50 level, 800x
51 - 100 level, 750x
101 - 130 level, 650x
131 - 180 level, 550x
181 - 230 level, 450x
231 - 300 level, 350x
301+ level, 300x
 
Postado

local female = {lookType = 269, lookHead = 79, lookBody = 91, lookLegs = 91, lookFeet = 91, lookTypeEx = 0, lookAddons = 3} -- Outfit Female
local male = {lookType = 268, lookHead = 86, lookBody = 86, lookLegs = 86, lookFeet = 86, lookTypeEx = 0, lookAddons = 3} -- Outfit Male
 
function onUse(cid, item, itemEx, toPosition, fromPosition) 
if isPlayer(cid) == TRUE then
if getPlayerSex(cid) == 0 then 
doCreatureChangeOutfit(cid, female)
else
doCreatureChangeOutfit(cid, male) 
end 
doSendMagicEffect(getThingPos(cid), 29) 
doSendAnimatedText(getPlayerPosition(cid),"Wooaahh!", math.random(01,255))
doRemoveItem(item.uid, 1)
end 
return TRUE 
end
Postado
  • Autor
local female = {lookType = 269, lookHead = 79, lookBody = 91, lookLegs = 91, lookFeet = 91, lookTypeEx = 0, lookAddons = 3} -- Outfit Female
local male = {lookType = 268, lookHead = 86, lookBody = 86, lookLegs = 86, lookFeet = 86, lookTypeEx = 0, lookAddons = 3} -- Outfit Male
 
function onUse(cid, item, itemEx, toPosition, fromPosition) 
if isPlayer(cid) == TRUE then
if getPlayerSex(cid) == 0 then 
doCreatureChangeOutfit(cid, female)
else
doCreatureChangeOutfit(cid, male) 
end 
doSendMagicEffect(getThingPos(cid), 29) 
doSendAnimatedText(getPlayerPosition(cid),"Wooaahh!", math.random(01,255))
doRemoveItem(item.uid, 1)
end 
return TRUE 
end

Esqueci de mencionar, é TFS 1.2, está certo ?

 

@edit

não funcionou, eu uso o item e ele te da a ropinha só na aparencia, ai vc desloga e perde... e o item não some.

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

Antica Global - Server Online

 

SITE: http://anticaglobal.com/

IP: anticaglobal.com
EXP: 999x [sTAGES]
ML: 300x
SKILL: 500x
LOOT: 10x
 
VERSÃO: 10.77
PORTA: 7171
 
Stages:
1 - 8 level, 999x
9 - 20 level, 950x
21 - 50 level, 800x
51 - 100 level, 750x
101 - 130 level, 650x
131 - 180 level, 550x
181 - 230 level, 450x
231 - 300 level, 350x
301+ level, 300x
 

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.7k

Informação Importante

Confirmação de Termo