Jump to content

dopardor Panamera (Troll)


PlayMetin

Mensajes recomendados

Buenas chico quien me hace el favor de ayudarme a que esta quest genere un cobro al que combre el items
quest test begin
    state start begin
        when 9003.chat."Tienda General" begin
            setskin(NOWINDOW)
            npc.open_shop(3)        
        end
        when 9003.chat."Objeto Encantado" begin
            setskin(NOWINDOW)
            if pc.count_item(71084) > 0 then
                chat("Lo siento , tienes que gastar tu Objeto Encantado")
                return
            else
                pc.give_item2(71084,25)    
                chat("Has obtenido 25 Objeto Encantado")
            end
        end
    end
end

Gracias dejo los creditos de la quest al que me eche la mano (y)

Enlace para comentar
Compartir en otros sitios


quest test begin

state start begin

when 9003.chat."Tienda General" begin

setskin(NOWINDOW)

npc.open_shop(3)

end

when 9003.chat."Objeto Encantado" begin

setskin(NOWINDOW)

if pc.count_item(71084) > 0 then

chat("Lo siento , tienes que gastar tu Objeto Encantado")

return

else

pc.give_item2(71084,25)

pc.change_money(-122231) --Cantidad de dinero a cobrar. Importante dejar el -

chat("Has obtenido 25 Objeto Encantado")

end

end

end

end

 

Enlace para comentar
Compartir en otros sitios

  • Dilong locked this tema
Guest
Este tema está cerrado a otras respuestas.
  • Recientemente navegando por este tema   0 miembros

    • No hay usuarios registrados visitando esta página.
×
×
  • Crear nuevo...