OTServ
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.
Dirección Ip
[Action]Outfit por fuente o statua 3
Conectarse

Recuperar mi contraseña

Buscar
 
 

Resultados por:
 

 


Rechercher Búsqueda avanzada

Mejores posteadores
XxStroksxX (463)
[Action]Outfit por fuente o statua Vote1111[Action]Outfit por fuente o statua Vote2111[Action]Outfit por fuente o statua Vote3111 
~*~[:Đαяќ:]~[:тιβια:]~*~ (366)
[Action]Outfit por fuente o statua Vote1111[Action]Outfit por fuente o statua Vote2111[Action]Outfit por fuente o statua Vote3111 
spoor (83)
[Action]Outfit por fuente o statua Vote1111[Action]Outfit por fuente o statua Vote2111[Action]Outfit por fuente o statua Vote3111 
Dj Pacos (73)
[Action]Outfit por fuente o statua Vote1111[Action]Outfit por fuente o statua Vote2111[Action]Outfit por fuente o statua Vote3111 
God Skit (68)
[Action]Outfit por fuente o statua Vote1111[Action]Outfit por fuente o statua Vote2111[Action]Outfit por fuente o statua Vote3111 
GoD MexicanSoul (40)
[Action]Outfit por fuente o statua Vote1111[Action]Outfit por fuente o statua Vote2111[Action]Outfit por fuente o statua Vote3111 
fuzzy (35)
[Action]Outfit por fuente o statua Vote1111[Action]Outfit por fuente o statua Vote2111[Action]Outfit por fuente o statua Vote3111 
Eddie (31)
[Action]Outfit por fuente o statua Vote1111[Action]Outfit por fuente o statua Vote2111[Action]Outfit por fuente o statua Vote3111 
GOD Chimito (30)
[Action]Outfit por fuente o statua Vote1111[Action]Outfit por fuente o statua Vote2111[Action]Outfit por fuente o statua Vote3111 
conalep1996 (23)
[Action]Outfit por fuente o statua Vote1111[Action]Outfit por fuente o statua Vote2111[Action]Outfit por fuente o statua Vote3111 

Últimos temas
» [???] [Super Naruto OT]
[Action]Outfit por fuente o statua Icon_m10Lun Jun 08, 2015 12:08 pm por keishmer91

» [ACTION] God/GM da item a un player
[Action]Outfit por fuente o statua Icon_m10Mar Dic 02, 2014 12:53 pm por hecmanos

» [8.60] Nuevo War Thais By TheRobertxon
[Action]Outfit por fuente o statua Icon_m10Vie Jun 20, 2014 10:56 am por luismc

» [7.92]Naruto Final Story!
[Action]Outfit por fuente o statua Icon_m10Dom Mayo 26, 2013 2:40 am por ricardotuck

» [9.1] Fun Server
[Action]Outfit por fuente o statua Icon_m10Mar Mayo 14, 2013 5:32 pm por skifer

» [9.1] The Forgotten Server v0.2.11pl2 (Mystic Spirit)
[Action]Outfit por fuente o statua Icon_m10Mar Mayo 14, 2013 5:29 pm por skifer

» New Map 8.60 (Darksystem) By: Turock & Gilio LIsto Arreglado El
[Action]Outfit por fuente o statua Icon_m10Mar Mayo 07, 2013 5:27 pm por tonyso

» Ocean Clasic Global Map 8.6
[Action]Outfit por fuente o statua Icon_m10Miér Mayo 01, 2013 11:19 pm por maganiua

» ayuda a abrir puertos
[Action]Outfit por fuente o statua Icon_m10Lun Abr 29, 2013 5:58 pm por XxStroksxX

» [8.60] Speedy War
[Action]Outfit por fuente o statua Icon_m10Dom Abr 28, 2013 5:51 pm por Sunnade'Audio

Upload Images
ImagesHack
Scanner
VirusTotal

[Action]Outfit por fuente o statua

4 participantes

Ir abajo

[Action]Outfit por fuente o statua Empty [Action]Outfit por fuente o statua

Mensaje por GoD MexicanSoul Vie Feb 25, 2011 2:12 pm

Este me lo paso un amigo Wink

Ve primero A Data/Actions/Scripts Y Crea OH Copia Un Archivo Y Le Ponemos 'Addon.lua' & Coloca lo siguiente.


Código:
Código:
function onUse(cid, item, frompos, item2, topos)

if item.uid == 8023 then
queststatus = getPlayerStorageValue(cid,8023)
if queststatus == -1 then
doPlayerAddOutfit(cid, 147, 1)
doPlayerAddOutfit(cid, 143, 1)
doPlayerAddOutfit(cid, 147, 2)
doPlayerAddOutfit(cid, 143, 2)
doPlayerSendTextMessage(cid,22,"You Found Barbarian Addons")
setPlayerStorageValue(cid,8023,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8002 then
queststatus = getPlayerStorageValue(cid,8002)
if queststatus == -1 then
doPlayerAddOutfit(cid, 128, 1)
doPlayerAddOutfit(cid, 136, 1)
doPlayerAddOutfit(cid, 128, 2)
doPlayerAddOutfit(cid, 136, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Citizen Addons.")
setPlayerStorageValue(cid,8002, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8003 then
queststatus = getPlayerStorageValue(cid,8003)
if queststatus == -1 then
doPlayerAddOutfit(cid, 129, 1)
doPlayerAddOutfit(cid, 137, 1)
doPlayerAddOutfit(cid, 129, 2)
doPlayerAddOutfit(cid, 137, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Hunter Addons.")
setPlayerStorageValue(cid,8003, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8004 then
queststatus = getPlayerStorageValue(cid,8004)
if queststatus == -1 then
doPlayerAddOutfit(cid, 131, 1)
doPlayerAddOutfit(cid, 139, 1)
doPlayerAddOutfit(cid, 131, 2)
doPlayerAddOutfit(cid, 139, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Knight Addons.")
setPlayerStorageValue(cid,8004, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8005 then
queststatus = getPlayerStorageValue(cid,8005)
if queststatus == -1 then
doPlayerAddOutfit(cid, 130, 1)
doPlayerAddOutfit(cid, 138, 1)
doPlayerAddOutfit(cid, 138, 2)
doPlayerAddOutfit(cid, 130, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Mage Addons.")
setPlayerStorageValue(cid,8005, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8006 then
queststatus = getPlayerStorageValue(cid,8006)
if queststatus == -1 then
doPlayerAddOutfit(cid, 133, 1)
doPlayerAddOutfit(cid, 141, 1)
doPlayerAddOutfit(cid, 141, 2)
doPlayerAddOutfit(cid, 133, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Summoner Addons.")
setPlayerStorageValue(cid,8006, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8007 then
queststatus = getPlayerStorageValue(cid,8007)
if queststatus == -1 then
doPlayerAddOutfit(cid, 144, 1)
doPlayerAddOutfit(cid, 148, 1)
doPlayerAddOutfit(cid, 144, 2)
doPlayerAddOutfit(cid, 148, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Druid Addons.")
setPlayerStorageValue(cid,8007, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8008 then
queststatus = getPlayerStorageValue(cid,8008)
if queststatus == -1 then
doPlayerAddOutfit(cid, 132, 1)
doPlayerAddOutfit(cid, 140, 1)
doPlayerAddOutfit(cid, 132, 2)
doPlayerAddOutfit(cid, 140, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Nobleman Addons.")
setPlayerStorageValue(cid,8008, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8009 then
queststatus = getPlayerStorageValue(cid,8009)
if queststatus == -1 then
doPlayerAddOutfit(cid, 146, 1)
doPlayerAddOutfit(cid, 150, 1)
doPlayerAddOutfit(cid, 146, 2)
doPlayerAddOutfit(cid, 150, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Oriental Addons.")
setPlayerStorageValue(cid,8009, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8010 then
queststatus = getPlayerStorageValue(cid,8010)
if queststatus == -1 then
doPlayerAddOutfit(cid, 134, 1)
doPlayerAddOutfit(cid, 142, 1)
doPlayerAddOutfit(cid, 134, 2)
doPlayerAddOutfit(cid, 142, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Warrior Addons.")
setPlayerStorageValue(cid,8010, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8011 then
queststatus = getPlayerStorageValue(cid,8011)
if queststatus == -1 then
doPlayerAddOutfit(cid, 145, 1)
doPlayerAddOutfit(cid, 149, 1)
doPlayerAddOutfit(cid, 145, 2)
doPlayerAddOutfit(cid, 149, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Wizard Addons.")
setPlayerStorageValue(cid,8011, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8012 then
queststatus = getPlayerStorageValue(cid,8012)
if queststatus == -1 then
doPlayerAddOutfit(cid, 152, 1)
doPlayerAddOutfit(cid, 156, 1)
doPlayerAddOutfit(cid, 152, 2)
doPlayerAddOutfit(cid, 156, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Assassin Addons.")
setPlayerStorageValue(cid,8012, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8013 then
queststatus = getPlayerStorageValue(cid,8013)
if queststatus == -1 then
doPlayerAddOutfit(cid, 153, 1)
doPlayerAddOutfit(cid, 157, 1)
doPlayerAddOutfit(cid, 153, 2)
doPlayerAddOutfit(cid, 157, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Beggar Addons.")
setPlayerStorageValue(cid,8013, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8014 then
queststatus = getPlayerStorageValue(cid,8014)
if queststatus == -1 then
doPlayerAddOutfit(cid, 151, 1)
doPlayerAddOutfit(cid, 155, 1)
doPlayerAddOutfit(cid, 151, 2)
doPlayerAddOutfit(cid, 155, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Pirate Addons.")
setPlayerStorageValue(cid,8014, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8015 then
queststatus = getPlayerStorageValue(cid,8015)
if queststatus == -1 then
doPlayerAddOutfit(cid, 154, 1)
doPlayerAddOutfit(cid, 158, 1)
doPlayerAddOutfit(cid, 154, 2)
doPlayerAddOutfit(cid, 158, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Shaman Addons.")
setPlayerStorageValue(cid,8015, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8016 then
queststatus = getPlayerStorageValue(cid,8016)
if queststatus == -1 then
doPlayerAddOutfit(cid, 251, 1)
doPlayerAddOutfit(cid, 252, 1)
doPlayerAddOutfit(cid, 251, 2)
doPlayerAddOutfit(cid, 252, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Norseman Addons.")
setPlayerStorageValue(cid,8016, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8017 then
queststatus = getPlayerStorageValue(cid,8017)
if queststatus == -1 then
doPlayerAddOutfit(cid, 269, 1)
doPlayerAddOutfit(cid, 268, 1)
doPlayerAddOutfit(cid, 269, 2)
doPlayerAddOutfit(cid, 268, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Nightmare Addons.")
setPlayerStorageValue(cid,8017, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8018 then
queststatus = getPlayerStorageValue(cid,8018)
if queststatus == -1 then
doPlayerAddOutfit(cid, 270, 1)
doPlayerAddOutfit(cid, 273, 1)
doPlayerAddOutfit(cid, 270, 2)
doPlayerAddOutfit(cid, 273, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Jester Addons.")
setPlayerStorageValue(cid,8018, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8019 then
queststatus = getPlayerStorageValue(cid,8019)
if queststatus == -1 then
doPlayerAddOutfit(cid, 279, 1)
doPlayerAddOutfit(cid, 278, 1)
doPlayerAddOutfit(cid, 279, 2)
doPlayerAddOutfit(cid, 278, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Brotherhood Addons.")
setPlayerStorageValue(cid,8019, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8020 then
queststatus = getPlayerStorageValue(cid,8020)
if queststatus == -1 then
doPlayerAddOutfit(cid, 288, 1)
doPlayerAddOutfit(cid, 289, 1)
doPlayerAddOutfit(cid, 288, 2)
doPlayerAddOutfit(cid, 289, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Demonhunter Addons.")
setPlayerStorageValue(cid,8020, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

elseif item.actionid == 8021 then
queststatus = getPlayerStorageValue(cid,8021)
if queststatus == -1 then
doPlayerAddOutfit(cid, 324, 1)
doPlayerAddOutfit(cid, 325, 1)
doPlayerAddOutfit(cid, 324, 2)
doPlayerAddOutfit(cid, 325, 2)
doSendMagicEffect(topos,12)
doPlayerSendTextMessage(cid,25,"You Found Yalaharian Addons.")
setPlayerStorageValue(cid,8021, 1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end

end

return 1
end


Ahora Ve A Data/Actions/Actions.xml & En Actions.xml Coloca esto.
Código:
<!-- Addon Quest -->
<action actionid="8001" event="script" value="addon.lua"/> <!-- Barbarian -->
<action actionid="8002" event="script" value="addon.lua"/> <!-- Citizen -->
<action actionid="8003" event="script" value="addon.lua"/> <!-- Hunter -->
<action actionid="8004" event="script" value="addon.lua"/> <!-- Knight -->
<action actionid="8005" event="script" value="addon.lua"/> <!-- Mage -->
<action actionid="8006" event="script" value="addon.lua"/> <!-- Summoner -->
<action actionid="8007" event="script" value="addon.lua"/> <!-- Druid -->
<action actionid="8008" event="script" value="addon.lua"/> <!-- Nobleman -->
<action actionid="8009" event="script" value="addon.lua"/> <!-- Oriental -->
<action actionid="8010" event="script" value="addon.lua"/> <!-- Warrior -->
<action actionid="8011" event="script" value="addon.lua"/> <!-- Wizard -->
<action actionid="8012" event="script" value="addon.lua"/> <!-- Assassin -->
<action actionid="8013" event="script" value="addon.lua"/> <!-- Beggar -->
<action actionid="8014" event="script" value="addon.lua"/> <!-- Pirate -->
<action actionid="8015" event="script" value="addon.lua"/> <!-- Shaman -->
<action actionid="8016" event="script" value="addon.lua"/> <!-- Norseman -->
<action actionid="8017" event="script" value="addon.lua"/> <!-- Nightmare -->
<action actionid="8018" event="script" value="addon.lua"/> <!-- Jester -->
<action actionid="8019" event="script" value="addon.lua"/> <!-- Brotherhood -->
<action actionid="8020" event="script" value="addon.lua"/> <!-- Demonhunter -->
<action actionid="8021" event="script" value="addon.lua"/> <!-- Yalaharian -->

Luego En Tu Map Editor Coloca La Fuente Que
Quieras Que De El Addon Y Les Vamos Poniendo Sus Action ID Desde 8001 A
8021 Y Ve En El Script Anterior Los Action ID.

Este seria el id de el primero.


Código:
if item.uid == 8023 then
busca en todos los que puse esos que comiencen con > if item.uid <

Creditos
99% GOD Draken
1% GoD MexicanSoul por traerlo Wink

Si te sirvio dame +Rep
GoD MexicanSoul
GoD MexicanSoul

Forero fase Beta
Forero fase Beta

+ New User +
Masculino Mexico Tauro Perro
Edad Edad : 29
Mensajes Mensajes : 40
Localización Localización : EN mi casa
Fecha de inscripción Fecha de inscripción : 13/02/2011

Volver arriba Ir abajo

[Action]Outfit por fuente o statua Empty Re: [Action]Outfit por fuente o statua

Mensaje por XxStroksxX Vie Feb 25, 2011 10:00 pm

Mui bueno +REP Amigo sigue asi

Suerte! Bien
XxStroksxX
XxStroksxX

+ Administrador +
+ Administrador +

¡Sorcerer Rapero!
Masculino España Géminis Cerdo
Chrome
Edad Edad : 28
Mensajes Mensajes : 463
Localización Localización : Barcelona
Fecha de inscripción Fecha de inscripción : 01/08/2010

Hoja de personaje
Personaje: Khail Phount
Vocation: Knight
Mundo: Infernia

http://www.otserv.biz/

Volver arriba Ir abajo

[Action]Outfit por fuente o statua Empty Re: [Action]Outfit por fuente o statua

Mensaje por ~*~[:Đαяќ:]~[:тιβια:]~*~ Dom Feb 27, 2011 2:55 pm

buenisimo
~*~[:Đαяќ:]~[:тιβια:]~*~
~*~[:Đαяќ:]~[:тιβια:]~*~

+ Moderador +
+ Moderador +

*~Elder Wolf~*
Masculino Mexico Virgo Cerdo
Chrome
Edad Edad : 28
Mensajes Mensajes : 366
Localización Localización : :O ala versh XD
Fecha de inscripción Fecha de inscripción : 29/01/2011

http://www.chaosserv.no-ip.info

Volver arriba Ir abajo

[Action]Outfit por fuente o statua Empty Re: [Action]Outfit por fuente o statua

Mensaje por Dj Pacos Dom Mayo 01, 2011 5:32 am

que pasa si en el outfit.xml le pongo esto:

Código:

<outfit type="1" looktype="289" enabled="0" name="Demonhunter" premium="1"/>

y luego uso este script para darles el outfir de demonhunter.. funcionaria?
Dj Pacos
Dj Pacos

Forero fase Beta
Forero fase Beta

Recopilador
Masculino Mexico Pez Serpiente
Safari
Edad Edad : 35
Mensajes Mensajes : 73
Localización Localización : Thais
Fecha de inscripción Fecha de inscripción : 21/04/2011

Volver arriba Ir abajo

[Action]Outfit por fuente o statua Empty Re: [Action]Outfit por fuente o statua

Mensaje por Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.