Dark-Tibia
Dark-Tibia
Dark-Tibia
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.


En este foro encontras ayuda subre tu Otserver
 
ÍndicePortalÚltimas imágenesBuscarRegistrarseConectarse
Navegación
 Portal
 Índice
 Miembros
 Perfil
 FAQ
 Buscar
Conectarse
Nombre de Usuario:
Contraseña:
Entrar automáticamente en cada visita: 
:: Recuperar mi contraseña
Últimos temas
» johnnathann
[TALKACTION] Addon Doll Icon_minitimeSáb Sep 15, 2012 8:48 pm por johnnathannj

»  [8.70] Real Global Map 1.8 + Imagenes + Scans
[TALKACTION] Addon Doll Icon_minitimeLun Jun 11, 2012 4:53 am por Lazcano

» Speedy War [8.60]
[TALKACTION] Addon Doll Icon_minitimeVie Mar 30, 2012 2:12 pm por GOD ALE

»  [Rpg-Pvp][8.60]Kreuus Easy
[TALKACTION] Addon Doll Icon_minitimeJue Mar 29, 2012 11:42 pm por GOD ALE

» [Script] Royal Crossbow!
[TALKACTION] Addon Doll Icon_minitimeJue Mar 29, 2012 11:22 pm por GOD ALE

» Ayuda con el ot server
[TALKACTION] Addon Doll Icon_minitimeJue Mar 29, 2012 10:45 pm por GOD ALE

»  Tiko ot editado 8.60
[TALKACTION] Addon Doll Icon_minitimeJue Mar 29, 2012 10:34 pm por GOD ALE

»  VikiRanch.'[8.60] war v.1.0
[TALKACTION] Addon Doll Icon_minitimeJue Mar 29, 2012 9:54 pm por GOD ALE

» Abrir Puertos De Tibia En El Router Thomson tg585 de telmex
[TALKACTION] Addon Doll Icon_minitimeVie Oct 28, 2011 1:21 pm por panda

Mejores posteadores
Dj Pacos
[TALKACTION] Addon Doll I_vote_lcap[TALKACTION] Addon Doll I_voting_bar[TALKACTION] Addon Doll I_vote_rcap 
admin heber723
[TALKACTION] Addon Doll I_vote_lcap[TALKACTION] Addon Doll I_voting_bar[TALKACTION] Addon Doll I_vote_rcap 
God Maracula
[TALKACTION] Addon Doll I_vote_lcap[TALKACTION] Addon Doll I_voting_bar[TALKACTION] Addon Doll I_vote_rcap 
GoD Mexicansoul
[TALKACTION] Addon Doll I_vote_lcap[TALKACTION] Addon Doll I_voting_bar[TALKACTION] Addon Doll I_vote_rcap 
God Dunckan
[TALKACTION] Addon Doll I_vote_lcap[TALKACTION] Addon Doll I_voting_bar[TALKACTION] Addon Doll I_vote_rcap 
Admin Azteca
[TALKACTION] Addon Doll I_vote_lcap[TALKACTION] Addon Doll I_voting_bar[TALKACTION] Addon Doll I_vote_rcap 
Slayer
[TALKACTION] Addon Doll I_vote_lcap[TALKACTION] Addon Doll I_voting_bar[TALKACTION] Addon Doll I_vote_rcap 
God Damubu
[TALKACTION] Addon Doll I_vote_lcap[TALKACTION] Addon Doll I_voting_bar[TALKACTION] Addon Doll I_vote_rcap 
DJ Punk
[TALKACTION] Addon Doll I_vote_lcap[TALKACTION] Addon Doll I_voting_bar[TALKACTION] Addon Doll I_vote_rcap 
Glonlova
[TALKACTION] Addon Doll I_vote_lcap[TALKACTION] Addon Doll I_voting_bar[TALKACTION] Addon Doll I_vote_rcap 

 

 [TALKACTION] Addon Doll

Ir abajo 
2 participantes
AutorMensaje
Dj Pacos
Admin
Admin
Dj Pacos


100

Mensajes : 169
Puntos : 294
Reputación : 56
Fecha de inscripción : 01/05/2011
Edad : 31

[TALKACTION] Addon Doll Empty
MensajeTema: [TALKACTION] Addon Doll   [TALKACTION] Addon Doll Icon_minitimeLun Mayo 02, 2011 9:48 pm

INFO: Al hacerle click da todos los addon full.

Primero van a data\talkactions\talkactions.xml y copian cualquier archivo.xml lo abren y borran todo y despues pegan esto:

Código:

<talkaction words="!addon" event="script" value="addondoll.lua"/>

Despues Vallan a data\talkactions\scripts\ y crean un archivo Llamado addondoll.lua y agregan esto:

Código:


function onSay(cid, words, param)
local femaleOutfits = { ["citizen"]={136}, ["hunter"]={137}, ["mage"]={138}, ["knight"]={139}, ["nobleman"]={140}, ["summoner"]={141}, ["warrior"]={142}, ["barbarian"]={147}, ["druid"]={148}, ["wizard"]={149}, ["oriental"]={150}, ["pirate"]={155}, ["assassin"]={156}, ["beggar"]={157}, ["shaman"]={158}, ["norsewoman"]={252}, ["nightmare"]={269}, ["jester"]={270}, ["brotherhood"]={279}, ["demonhunter"]={288}, ["yalaharian"]={324} }
local maleOutfits = { ["citizen"]={128}, ["hunter"]={129}, ["mage"]={130}, ["knight"]={131}, ["nobleman"]={132},["summoner"]={133}, ["warrior"]={134}, ["barbarian"]={143}, ["druid"]={144}, ["wizard"]={145}, ["oriental"]={146}, ["pirate"]={151}, ["assassin"]={152}, ["beggar"]={153}, ["shaman"]={154}, ["norsewoman"]={251}, ["nightmare"]={268}, ["jester"]={273}, ["brotherhood"]={278}, ["demonhunter"]={289}, ["yalaharian"]={325} }
local msg = {"Command requires GOOD param!", "You dont have Addon Doll!", "Bad param!", "Full Addon Set sucesfully added!"}
local param = string.lower(param)

if(getPlayerItemCount(cid, 8982) > 0) then
if(param ~= "" and maleOutfits[param] and femaleOutfits[param]) then
doPlayerRemoveItem(cid, 8982, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[4])
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS)
if(getPlayerSex(cid) == 0)then
doPlayerAddOutfit(cid, femaleOutfits[param][1], 3)
else
doPlayerAddOutfit(cid, maleOutfits[param][1], 3)
end
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[1])
end
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[2])
end
end

Eso seria todo!

Espero que les sirva! Very Happy

Creditos:
100% ~*~[:Đαяќ:]~[:тιβια:]~*~
Volver arriba Ir abajo
admin heber723
Admin
Admin
admin heber723


100

Mensajes : 128
Puntos : 1163
Reputación : 16
Fecha de inscripción : 27/04/2011

[TALKACTION] Addon Doll Empty
MensajeTema: Re: [TALKACTION] Addon Doll   [TALKACTION] Addon Doll Icon_minitimeLun Mayo 02, 2011 10:05 pm

O_O chido man jejej +rep
Volver arriba Ir abajo
Dj Pacos
Admin
Admin
Dj Pacos


100

Mensajes : 169
Puntos : 294
Reputación : 56
Fecha de inscripción : 01/05/2011
Edad : 31

[TALKACTION] Addon Doll Empty
MensajeTema: Re: [TALKACTION] Addon Doll   [TALKACTION] Addon Doll Icon_minitimeLun Mayo 02, 2011 10:13 pm

gracias, se hace lo que se puede Smile
Volver arriba Ir abajo
Contenido patrocinado





[TALKACTION] Addon Doll Empty
MensajeTema: Re: [TALKACTION] Addon Doll   [TALKACTION] Addon Doll Icon_minitime

Volver arriba Ir abajo
 
[TALKACTION] Addon Doll
Volver arriba 
Página 1 de 1.

Permisos de este foro:No puedes responder a temas en este foro.
Dark-Tibia :: Scripts-
Cambiar a: