Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Rekomendowane odpowiedzi

Opublikowano

sprawdz to

 

 

say_title ( "Pierścień Teleportacji: " )
local s = select ( "Miasta (M1) " , "Miasta (M2) " , "Łatwe Expowiska " , "Trudne Expowiska " , "Zestaw Exp. Wymiana na bryle " , "Anuluj " )
if s == 6 then
return
end
if s == 1 then
local d = select ( "Shinsoo " , "Chunjo " , "Jinno " , "Anuluj " )
if d == 4 then
return
end
if d == 1 then
pc . warp ( 469300, 964200 )
end
if d == 2 then
pc . warp ( 63600 , 166400 )
end
if d == 3 then
pc . warp ( 959900 , 269300 )
end
end
if s == 2 then
local f = select ( "Shinsoo " , "Chunjo " , "Jinno " , "Anuluj " )
if f == 4 then
return
end
if f == 1 then
pc . warp ( 353000 , 882700 )
end
if f == 2 then
pc . warp ( 145300 , 240500 )
end
if f == 3 then
pc . warp ( 863600 , 245900 )
end
end
if s == 3 then
local g = select ( "Dolina Orków " , "Pustynia " , "Loch Pajkakow V1 " , "Anuluj " )
if g == 6 then
return
end
if g == 1 then
local empire = pc . get_empire ( )
if empire == 1 then
pc . warp ( 402100 , 673900 )
end
if empire == 2 then
pc . warp ( 270400 , 739900 )
end
if empire == 3 then
pc . warp ( 321300 , 808000 )
end
end
if g == 2 then
local empire = pc . get_empire ( )
if empire == 1 then
pc . warp ( 217800 , 627200 )
end
if empire == 2 then
pc . warp ( 221900 , 502700 )
end
if empire == 3 then
pc . warp ( 344000 , 502500 )
end
end
if g == 3 then
local empire = pc . get_empire ( )
if empire == 1 then
pc . warp ( 60000 , 496000 )
end
if empire == 2 then
pc . warp ( 60000 , 496000 )
end
if empire == 3 then
pc . warp ( 60000 , 496000 )
end
end
end
if s == 4 then
local t = select ( "Loch Pająków V2" , "Czerwony Las" , "Alantyda V1" , "Atlantyda V2" , "Wyspa Zombie" ,"Podziemia Trolli" , "Anuluj" )
if t == 7 then
return
end
if t == 1 then
pc . warp ( 704100 , 464100 )
end
if t == 2 then
pc . warp ( 1.1199e+06 , 70800 )
end
if t == 3 then
if pc.level < 75 then
say("Możesz się przenieś tylko od 75 poziomu")
return
end
pc . warp ( 9800 , 1.2151e+06 )
end
if t == 4 then
if pc.level < 90 then
say("Możesz się przenieś tylko od 90 poziomu")
return
end
pc . warp ( 153600 , 1.2032e+06 )
end  
if t == 5 then
if pc.level < 100 then
say("Możesz się przenieś tylko od 100 poziomu")
return
end
pc . warp ( 270900 , 12700 )
end
if t == 6 then
if pc.level < 120 then
say("Możesz się przenieś tylko od 120 poziomu")
return
end
pc . warp ( 1033200 , 575700 )
end
end
if s == 5 then
say_title ( "Tutaj mozesz kupic zestaw do expa lub wymienic kase na bryle " )
local p = select ( "Czerwone Mikstury " , "Niebieskie Miktury " , "Pelerynki" , "Wymiana kasy" , "Anuluj " )
if p == 5 then
return
end
if p == 1 then
say_reward ( "Otrzymałeś 200 czerwonych mikstur" )
pc . give_item2 ( 27003 , 200 )
pc . change_money ( - 100000 )
end
if p == 2 then
say_reward ( "Otrzymałeś 200 niebieskich mikstur" )
pc . give_item2 ( 27006 , 200 )
pc . change_money ( - 100000 )
end
if p == 3 then
say_reward ( "Otrzymałeś 200 peleryn męstwa" )
pc . give_item2 ( 70038 , 200 )
pc . change_money ( - 100000 )
end
if p == 4 then
say_reward ( "Otrzymałes bryłe" )
pc . give_item2 ( 80008 )
if pc.money>=1000000000 then
say_reward("Nie masz tyle yang")
pc . change_money ( - 1000000000 )
say_reward ("Oto Twoja Bryła")
end
if 2 == s then
return
end
end

Technik aka Quester Helper.

Opublikowano

 

say_title ( "Pierścień Teleportacji: " )
local s = select ( "Miasta (M1) " , "Miasta (M2) " , "Łatwe Expowiska " , "Trudne Expowiska " , "Zestaw Exp. Wymiana na bryle " , "Anuluj " )
if s == 6 then
return
end
if s == 1 then
local d = select ( "Shinsoo " , "Chunjo " , "Jinno " , "Anuluj " )
if d == 4 then
return
end
if d == 1 then
pc . warp ( 469300, 964200 )
end
if d == 2 then
pc . warp ( 63600 , 166400 )
end
if d == 3 then
pc . warp ( 959900 , 269300 )
end
end
if s == 2 then
local f = select ( "Shinsoo " , "Chunjo " , "Jinno " , "Anuluj " )
if f == 4 then
return
end
if f == 1 then
pc . warp ( 353000 , 882700 )
end
if f == 2 then
pc . warp ( 145300 , 240500 )
end
if f == 3 then
pc . warp ( 863600 , 245900 )
end
end
if s == 3 then
local g = select ( "Dolina Orków " , "Pustynia " , "Loch Pajkakow V1 " , "Anuluj " )
if g == 6 then
return
end
if g == 1 then
local empire = pc . get_empire ( )
if empire == 1 then
pc . warp ( 402100 , 673900 )
end
if empire == 2 then
pc . warp ( 270400 , 739900 )
end
if empire == 3 then
pc . warp ( 321300 , 808000 )
end
end
if g == 2 then
local empire = pc . get_empire ( )
if empire == 1 then
pc . warp ( 217800 , 627200 )
end
if empire == 2 then
pc . warp ( 221900 , 502700 )
end
if empire == 3 then
pc . warp ( 344000 , 502500 )
end
end
if g == 3 then
local empire = pc . get_empire ( )
if empire == 1 then
pc . warp ( 60000 , 496000 )
end
if empire == 2 then
pc . warp ( 60000 , 496000 )
end
if empire == 3 then
pc . warp ( 60000 , 496000 )
end
end
end
if s == 4 then
local t = select ( "Loch Pająków V2" , "Czerwony Las" , "Alantyda V1" , "Atlantyda V2" , "Wyspa Zombie" ,"Podziemia Trolli" , "Anuluj" )
if t == 7 then
return
end
if t == 1 then
pc . warp ( 704100 , 464100 )
end
if t == 2 then
pc . warp ( 1.1199e+06 , 70800 )
end
if t == 3 then
if pc.level < 75 then
say("Możesz się przenieś tylko od 75 poziomu")
return
end
pc . warp ( 9800 , 1.2151e+06 )
end
if t == 4 then
if pc.level < 90 then
say("Możesz się przenieś tylko od 90 poziomu")
return
end
pc . warp ( 153600 , 1.2032e+06 )
end  
if t == 5 then
if pc.level < 100 then
say("Możesz się przenieś tylko od 100 poziomu")
return
end
pc . warp ( 270900 , 12700 )
end
if t == 6 then
if pc.level < 120 then
say("Możesz się przenieś tylko od 120 poziomu")
return
end
pc . warp ( 1033200 , 575700 )
end
end
if s == 5 then
say_title ( "Tutaj mozesz kupic zestaw do expa lub wymienic kase na bryle " )
local p = select ( "Czerwone Mikstury " , "Niebieskie Miktury " , "Pelerynki" , "Wymiana kasy" , "Anuluj " )
if p == 5 then
return
end
if p == 1 then
say_reward ( "Otrzymałeś 200 czerwonych mikstur" )
pc . give_item2 ( 27003 , 200 )
pc . change_money ( - 100000 )
end
if p == 2 then
say_reward ( "Otrzymałeś 200 niebieskich mikstur" )
pc . give_item2 ( 27006 , 200 )
pc . change_money ( - 100000 )
end
if p == 3 then
say_reward ( "Otrzymałeś 200 peleryn męstwa" )
pc . give_item2 ( 70038 , 200 )
pc . change_money ( - 100000 )
end
if p == 4 then
say_reward ( "Otrzymałes bryłe" )
pc . give_item2 ( 80008 )
if pc.money=1000000001 then
say_reward("Nie masz tyle yang")
pc . change_money ( - 1000000000 )
say_reward ("Oto Twoja Bryła")
end
if 2 == s then
return
end
end

 

Teraz powinno trybić. ;x

Technik aka Quester Helper.

Opublikowano

W queście, który podałeś w temacie zamień

 

if p == 4 then
say_reward ( "Otrzymałes bryłe" )
pc . give_item2 ( 80008 )
pc . change_money ( - 1000000000 )
say_reward ("Nie masz tyle yang")
end

na:

 

if p == 4 then
 if pc.get_money() >= 1000000000 then
   say_reward ( "Otrzymałes bryłe" )
   pc . give_item2 ( 80008 )
   pc . change_money ( - 1000000000 )
   say_reward ("Nie masz tyle yang")
 else
   say("Nie masz xx yang.")
 end
end

 

umarł

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...