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

[Poprawa] Questa


Rekomendowane odpowiedzi

Opublikowano
quest sie zle wgrywa!


quest SystemPunktow begin
state start begin
when login or levelup with pc.get_level() >= 1 begin
setstate(odbierz_misje)
end
end

state odbierz_misje begin
when letter begin
send_letter(" Zdobywaj punkty ")
local v = find_npc_by_vnum(20011)
if v != 0 then
target.vid("__TARGET__", v,"Uriel")
end
end

when button or info begin
say_title(" Punkty za bicie metinów. ")
say(" Zdobywaj punkty za bicie metinów. Udaj się do Uriela. ")
end

when __TARGET__.target.click begin
target.delete("__TARGET__")
say_title("Uriel:")
say(" Witaj "..pc.get_name().." mam do Ciebie ")
say(" dobrą wiadomość. ")
say(" Za bicie metinów będziesz otrzymywał punkty. ")
say(" Punktów otrzymasz tyle o jakim lvl rozbiłeś metina. ")
say(" Punkty możesz wymieniać na Itemy. ")
clear_letter()
setstate(drop)
end
end

state drop begin
when kill with npc.get_race() >= 8001 npc.get_race() >= 8002 and npc.get_race() 8003 and npc.get_race() 8004 and npc.get_race() 8005 and npc.get_race() 8006 and npc.get_race() 8007 and npc.get_race() 8008 and npc.get_race() 8009 and npc.get_race() 8010 and npc.get_race() 8011 and npc.get_race() 8012 and npc.get_race() 8013 and npc.get_race() <= 8014 or npc.get_race() >= 8024 and npc.get_race() <= 8027 begin
local nagrody = {
[8001] = "5",
[8002] = "10",
[8003] = "15",
[8004] = "20",
[8005] = "25",
[8006] = "30",
[8007] = "35",
[8008] = "40",
[8009] = "45",
[8010] = "50",
[8011] = "55",
[8012] = "60",
[8013] = "65",
[8014] = "70",
[8024] = "75",
[8025] = "80",
[8026] = "85",
[8027] = "90"
}
pc.give_item2(9994, nagrody[npc.get_race()])
end
end
end

 

 

Opublikowano


quest SystemPunktow begin

state start begin

when login or levelup with pc.get_level() >= 1 begin

setstate(odbierz_misje)

end

end

 

state odbierz_misje begin

when letter begin

send_letter(" Zdobywaj punkty ")

local v = find_npc_by_vnum(20011)

if v != 0 then

target.vid("__TARGET__", v,"Uriel")

end

end

 

when button or info begin

say_title(" Punkty za bicie metinów. ")

say(" Zdobywaj punkty za bicie metinów. Udaj się do Uriela. ")

end

 

when __TARGET__.target.click begin

target.delete("__TARGET__")

say_title("Uriel:")

say(" Witaj "..pc.get_name().." mam do Ciebie ")

say(" dobrą wiadomość. ")

say(" Za bicie metinów będziesz otrzymywał punkty. ")

say(" Punktów otrzymasz tyle o jakim lvl rozbiłeś metina. ")

say(" Punkty możesz wymieniać na Itemy. ")

clear_letter()

setstate(drop)

end

end

 

state drop begin

when kill with npc.get_race() >= 8001 and npc.get_race() >= 8002 and npc.get_race() 8003 and npc.get_race() 8004 and npc.get_race() 8005 and npc.get_race() 8006 and npc.get_race() 8007 and npc.get_race() 8008 and npc.get_race() 8009 and npc.get_race() 8010 and npc.get_race() 8011 and npc.get_race() 8012 and npc.get_race() 8013 and npc.get_race() <= 8014 or npc.get_race() >= 8024 and npc.get_race() <= 8027 begin

local nagrody = {

[8001] = "5",

[8002] = "10",

[8003] = "15",

[8004] = "20",

[8005] = "25",

[8006] = "30",

[8007] = "35",

[8008] = "40",

[8009] = "45",

[8010] = "50",

[8011] = "55",

[8012] = "60",

[8013] = "65",

[8014] = "70",

[8024] = "75",

[8025] = "80",

[8026] = "85",

[8027] = "90"

}

pc.give_item2(9994, nagrody[npc.get_race()])

end

end

end

727881401622271220780.jpeg
Opublikowano

Fakty... przeoczyłem błąd:

quest SystemPunktow begin
state start begin
when login or levelup with pc.get_level() >= 1 begin
setstate(odbierz_misje)
end
end
 
state odbierz_misje begin
when letter begin
send_letter(" Zdobywaj punkty ")
local v = find_npc_by_vnum(20011)
if v != 0 then
target.vid("__TARGET__", v,"Uriel")
end
end
 
when button or info begin
say_title(" Punkty za bicie metinów. ")
say(" Zdobywaj punkty za bicie metinów. Udaj się do Uriela. ")
end
 
when __TARGET__.target.click begin
target.delete("__TARGET__")
say_title("Uriel:")
say(" Witaj "..pc.get_name().." mam do Ciebie ")
say(" dobrą wiadomość. ")
say(" Za bicie metinów będziesz otrzymywał punkty. ")
say(" Punktów  otrzymasz tyle o jakim lvl rozbiłeś metina. ")
say(" Punkty możesz wymieniać na Itemy. ")
clear_letter()
setstate(drop)
end
end
 
state drop begin
when kill with npc.get_race() == 8001 and npc.get_race() == 8002 and npc.get_race() == 8003 and npc.get_race() == 8004 and npc.get_race() == 8005 and npc.get_race() == 8006 and npc.get_race() == 8007 and npc.get_race() == 8008 and npc.get_race() == 8009 and npc.get_race() == 8010 and npc.get_race() == 8011 and npc.get_race() == 8012 and npc.get_race() == 8013 and npc.get_race() == 8014 and npc.get_race() == 8024 and npc.get_race() == 8027 begin 
local nagrody = {
[8001] = "5",
[8002] = "10",
[8003] = "15",
[8004] = "20",
[8005] = "25",
[8006] = "30",
[8007] = "35",
[8008] = "40",
[8009] = "45",
[8010] = "50",
[8011] = "55",
[8012] = "60",
[8013] = "65",
[8014] = "70",
[8024] = "75",
[8025] = "80",
[8026] = "85",
[8027] = "90"
}
pc.give_item2(9994, nagrody[npc.get_race()])
end
end
end

Dopisz sobie kolejne ID pamiętając o ==

727881401622271220780.jpeg

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...