Bueno amigos Ha hora psoteo todos los peinados en un npc pero en .quest ya que ase mucho haynoa posteo los peinados en object y yo desidi repararlo y aserlo en quest espero un grasias me tarde como 3 dias asiendo la qeust ya que no es fasil y es larga.
Aclaro que el npc es el 20080 osea el que se parese al uriel
quest Peinados_npc begin
state start begin
when 20080.chat."Peinados de Guerrero (Mujer)" begin
a = select ("Cinta en la Cabeza (Verde)" , "Cinta en la Cabeza (Azúl)" , "Cinta en la Cabeza (Rubio)", "Cinta en la Cabeza (Castaño)", "Peinado de Moda (Castaño)", "Peinado de Moda (Azúl)", "Peinado de Moda (Claro)","Peinado de Moda (Rojo)","Pelo Completo (Negro)","Pelo Completo (Rojo)","Pelo Completo (Castaño)","Pelo Completo (Verde)","Cerrar")
if a == 13 then
elseif a == 1 then
setskin ( NOWINDOW )
pc . give_item2 ("75008")
elseif a == 2 then
setskin ( NOWINDOW )
pc . give_item2 ("75007")
elseif a == 3 then
setskin (NOWINDOW )
pc . give_item2 ("75006")
elseif a == 4 then
setskin ( NOWINDOW )
pc . give_item2 ("75005")
elseif a == 5 then
setskin ( NOWINDOW )
pc . give_item2 ("75004")
elseif a == 6 then
setskin ( NOWINDOW )
pc . give_item2 ("75003")
elseif a == 7 then
setskin ( NOWINDOW )
pc . give_item2 ("75002")
elseif a == 8 then
setskin ( NOWINDOW )
pc . give_item2 ("75001")
elseif a == 9 then
setskin ( NOWINDOW )
pc . give_item2 ("75009")
elseif a == 10 then
setskin ( NOWINDOW )
pc . give_item2 ("75010")
elseif a == 11 then
setskin ( NOWINDOW )
pc . give_item2 ("75011")
elseif a == 12 then
setskin ( NOWINDOW )
pc . give_item2 ("75012")
elseif a == 13 then
end
end
end
state start begin
when 20080.chat."Peinados de Guerrero (Hombre)" begin
a = select ("Pelo Atado detrás (Verde)" , "Pelo Atado detrás (Castaño)" , "Pelo Atado Detras (Rojo)", "Pelo Atado detrás (Negro)", "Bandana (Verde)", "Bandana (Azúl)", "Bandana (Castaño)","Bandana (Roja)","Peinado Moderno (Castaño)","Peinado Moderno (Azúl)","Peinado Moderno (Claro)","Peinado Moderno (Rojo)","Cerrar")
if a == 13 then
elseif a == 1 then
setskin ( NOWINDOW )
pc . give_item2 ("74012")
elseif a == 2 then
setskin ( NOWINDOW )
pc . give_item2 ("74011")
elseif a == 3 then
setskin (NOWINDOW )
pc . give_item2 ("74010")
elseif a == 4 then
setskin ( NOWINDOW )
pc . give_item2 ("74009")
elseif a == 5 then
setskin ( NOWINDOW )
pc . give_item2 ("74008")
elseif a == 6 then
setskin ( NOWINDOW )
pc . give_item2 ("74007")
elseif a == 7 then
setskin ( NOWINDOW )
pc . give_item2 ("74006")
elseif a == 8 then
setskin ( NOWINDOW )
pc . give_item2 ("74005")
elseif a == 9 then
setskin ( NOWINDOW )
pc . give_item2 ("74004")
elseif a == 10 then
setskin ( NOWINDOW )
pc . give_item2 ("74003")
elseif a == 11 then
setskin ( NOWINDOW )
pc . give_item2 ("74002")
elseif a == 12 then
setskin ( NOWINDOW )
pc . give_item2 ("74001")
elseif a == 13 then
end
end
end
state start begin
when 20080.chat."Peinados de Sura (Mujer)" begin
a = select ("Larga Coleta (Castaño)" , "Larga Coleta (Negro)" , "Coleta larga (Morado)", "Coleta larga (Blanco)", "Pelo Largo (Violeta)", "Pelo Largo (negro)", "Pelo Largo (Rojo)","Pelo Largo (Blanco)","Peinado con Moño (Verde)","Peinado con Moño (Amar)","Peinado con moño (Cast)","Peinado con moño (Griz)","Cerrar")
if a == 13 then
elseif a == 1 then
setskin ( NOWINDOW )
pc . give_item2 ("75412")
elseif a == 2 then
setskin ( NOWINDOW )
pc . give_item2 ("75411")
elseif a == 3 then
setskin (NOWINDOW )
pc . give_item2 ("75410")
elseif a == 4 then
setskin ( NOWINDOW )
pc . give_item2 ("75409")
elseif a == 5 then
setskin ( NOWINDOW )
pc . give_item2 ("75408")
elseif a == 6 then
setskin ( NOWINDOW )
pc . give_item2 ("75407")
elseif a == 7 then
setskin ( NOWINDOW )
pc . give_item2 ("75406")
elseif a == 8 then
setskin ( NOWINDOW )
pc . give_item2 ("75405")
elseif a == 9 then
setskin ( NOWINDOW )
pc . give_item2 ("75404")
elseif a == 10 then
setskin ( NOWINDOW )
pc . give_item2 ("75403")
elseif a == 11 then
setskin ( NOWINDOW )
pc . give_item2 ("75402")
elseif a == 12 then
setskin ( NOWINDOW )
pc . give_item2 ("75401")
elseif a == 13 then
end
end
end
state start begin
when 20080.chat."Peinados de Sura (Hombre)" begin
a = select ("Sexy Peinado Atras (Casta)" , "Sexy Peinado Atras (Negro)" , "Sexy Peinado Atras (Azúl)", "Sexy Peinado Atras (Blanco)", "Pelo Carismatico (Morado)", "Pelo Carismatico (negro)", "Pelo Carismatico (Rojo)","Pelo Carismatico (Blanco)","Pelo Deportivo Corto (Verde)","Pelo Deportivo Corto (Amar)","Pelo Deportivo Corto (Cast)","Pelo Deportivo Corto (Blanco)","Cerrar")
if a == 13 then
elseif a == 1 then
setskin ( NOWINDOW )
pc . give_item2 ("74512")
elseif a == 2 then
setskin ( NOWINDOW )
pc . give_item2 ("74511")
elseif a == 3 then
setskin (NOWINDOW )
pc . give_item2 ("74510")
elseif a == 4 then
setskin ( NOWINDOW )
pc . give_item2 ("74509")
elseif a == 5 then
setskin ( NOWINDOW )
pc . give_item2 ("74508")
elseif a == 6 then
setskin ( NOWINDOW )
pc . give_item2 ("74507")
elseif a == 7 then
setskin ( NOWINDOW )
pc . give_item2 ("74506")
elseif a == 8 then
setskin ( NOWINDOW )
pc . give_item2 ("74505")
elseif a == 9 then
setskin ( NOWINDOW )
pc . give_item2 ("74504")
elseif a == 10 then
setskin ( NOWINDOW )
pc . give_item2 ("74503")
elseif a == 11 then
setskin ( NOWINDOW )
pc . give_item2 ("74502")
elseif a == 12 then
setskin ( NOWINDOW )
pc . give_item2 ("74501")
elseif a == 13 then
end
end
end
state start begin
when 20080.chat."Peinados de Shaman (Mujer)" begin
a = select ("Semi Largo (Castaño)" , "Semi Largo (Morado)" , "Semi Largo (Rubio)", "Semi Largo (Castaño Claro)", "Semi Largo (Morado)", "Semi Largo (Amarillo)", "Semi Largo (Negro)","Semi Largo (Castaño)","Horquilla (Blanca)","Horquilla (Azúl)","Horquilla (Negro)","Horquilla (Castaño)","Cerrar")
if a == 13 then
elseif a == 1 then
setskin ( NOWINDOW )
pc . give_item2 ("74762")
elseif a == 2 then
setskin ( NOWINDOW )
pc . give_item2 ("74761")
elseif a == 3 then
setskin (NOWINDOW )
pc . give_item2 ("74760")
elseif a == 4 then
setskin ( NOWINDOW )
pc . give_item2 ("74759")
elseif a == 5 then
setskin ( NOWINDOW )
pc . give_item2 ("74758")
elseif a == 6 then
setskin ( NOWINDOW )
pc . give_item2 ("74757")
elseif a == 7 then
setskin ( NOWINDOW )
pc . give_item2 ("74756")
elseif a == 8 then
setskin ( NOWINDOW )
pc . give_item2 ("74755")
elseif a == 9 then
setskin ( NOWINDOW )
pc . give_item2 ("74754")
elseif a == 10 then
setskin ( NOWINDOW )
pc . give_item2 ("74753")
elseif a == 11 then
setskin ( NOWINDOW )
pc . give_item2 ("74752")
elseif a == 12 then
setskin ( NOWINDOW )
pc . give_item2 ("74751")
elseif a == 13 then
end
end
end
state start begin
when 20080.chat."Peinados de Shaman (Hombre)" begin
a = select ("Corte de Pelo Antiguo (Rojo)" , "Corte de Pelo Antiguo (Viol)" , "Corte de pelo antiguo (Cia)", "Corte de Pelo Antiguo (Cast)", "Pelo Largo (Morado)", "Pelo Largo (Claro)", "Pelo Largo (Negro)","Pelo Largo (Castaño)","Trenza a la Moda (Griz)","trenza a la Moda (Azúl)","Trenza a la Moda (Negro)","Trenza a la Moda (Castaño)","Cerrar")
if a == 13 then
elseif a == 1 then
setskin ( NOWINDOW )
pc . give_item2 ("75612")
elseif a == 2 then
setskin ( NOWINDOW )
pc . give_item2 ("75611")
elseif a == 3 then
setskin (NOWINDOW )
pc . give_item2 ("75610")
elseif a == 4 then
setskin ( NOWINDOW )
pc . give_item2 ("75609")
elseif a == 5 then
setskin ( NOWINDOW )
pc . give_item2 ("75608")
elseif a == 6 then
setskin ( NOWINDOW )
pc . give_item2 ("75607")
elseif a == 7 then
setskin ( NOWINDOW )
pc . give_item2 ("75606")
elseif a == 8 then
setskin ( NOWINDOW )
pc . give_item2 ("75605")
elseif a == 9 then
setskin ( NOWINDOW )
pc . give_item2 ("75604")
elseif a == 10 then
setskin ( NOWINDOW )
pc . give_item2 ("75603")
elseif a == 11 then
setskin ( NOWINDOW )
pc . give_item2 ("75602")
elseif a == 12 then
setskin ( NOWINDOW )
pc . give_item2 ("75601")
elseif a == 13 then
end
end
end
state start begin
when 20080.chat."Peinados de ninja (Mujer)" begin
a = select ("Corte Corto (Amarillo)" , "Corte Corto (Negro)" , "Corte Corto (Azíl Cielo)", "Corte Corto (Rojo)", "Medio Corto (Purpura)", "Medio Corto (Marrón Cl)", "Medio Corto (Marrón)","Medio Corto (Rojo)","Coleta (Marfil)","Coleta (Azúl)","Coleta (Verde)","Coleta (Marrón)","Cerrar")
if a == 13 then
elseif a == 1 then
setskin ( NOWINDOW )
pc . give_item2 ("73262")
elseif a == 2 then
setskin ( NOWINDOW )
pc . give_item2 ("73261")
elseif a == 3 then
setskin (NOWINDOW )
pc . give_item2 ("73260")
elseif a == 4 then
setskin ( NOWINDOW )
pc . give_item2 ("73259")
elseif a == 5 then
setskin ( NOWINDOW )
pc . give_item2 ("73258")
elseif a == 6 then
setskin ( NOWINDOW )
pc . give_item2 ("73257")
elseif a == 7 then
setskin ( NOWINDOW )
pc . give_item2 ("73256")
elseif a == 8 then
setskin ( NOWINDOW )
pc . give_item2 ("73255")
elseif a == 9 then
setskin ( NOWINDOW )
pc . give_item2 ("73254")
elseif a == 10 then
setskin ( NOWINDOW )
pc . give_item2 ("73253")
elseif a == 11 then
setskin ( NOWINDOW )
pc . give_item2 ("73252")
elseif a == 12 then
setskin ( NOWINDOW )
pc . give_item2 ("73251")
elseif a == 13 then
end
end
end
state start begin
when 20080.chat."Peinados de ninja (Hombre)" begin
a = select ("Pelo Peludo (Amarillo)" , "Pelo Peludo (Negro)" , "Pelo Peludo (Azúl)", "pelo Peludo (Rojo)", "Pañuelo (Rojo)", "Pañuelo (Castaño)", "Pañuelo (Verde)","Pañuelo (Blanco)","Cola de Caballo (Griz)","Cola de Caballo (Azúl)","Cola de Caballo (Verde)","Cola de Caballo (Castaño)","Cerrar")
if a == 13 then
elseif a == 1 then
setskin ( NOWINDOW )
pc . give_item2 ("75212")
elseif a == 2 then
setskin ( NOWINDOW )
pc . give_item2 ("75211")
elseif a == 3 then
setskin (NOWINDOW )
pc . give_item2 ("75210")
elseif a == 4 then
setskin ( NOWINDOW )
pc . give_item2 ("75209")
elseif a == 5 then
setskin ( NOWINDOW )
pc . give_item2 ("75208")
elseif a == 6 then
setskin ( NOWINDOW )
pc . give_item2 ("75207")
elseif a == 7 then
setskin ( NOWINDOW )
pc . give_item2 ("75206")
elseif a == 8 then
setskin ( NOWINDOW )
pc . give_item2 ("75205")
elseif a == 9 then
setskin ( NOWINDOW )
pc . give_item2 ("75204")
elseif a == 10 then
setskin ( NOWINDOW )
pc . give_item2 ("75203")
elseif a == 11 then
setskin ( NOWINDOW )
pc . give_item2 ("75202")
elseif a == 12 then
setskin ( NOWINDOW )
pc . give_item2 ("75201")
elseif a == 13 then
end
end
end
end
[licencia]By Diper[/licencia]