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

Konik za pomocą medalu


Rekomendowane odpowiedzi

Opublikowano

Skoro wszyscy wrzucają swoje questy, też się jednym starym podzielę.

 

Po kliknięciu na medal konny jeżeli jeździectwo jest na:

- 0 poziomie, mamy 100% szans

- 1-9 poziomie, mamy 90% szans

- 10 poziomie, mamy 25% szans

- 11-19 poziomie, mamy 50% szans

- 20 poziomie, mamy 10% szans

- 21-29 poziomie, mamy 25% szans

na zwiększenie poziomu konia.

 

 

Wersja bez ograniczeń:

 

quest medal1 begin
state start begin
	when 50050.use with horse.get_level()==0 and horse.get_grade()==0 begin
	local pass_percent=100
	local s=number(1,100)
	pc.remove_item(50050, 1)
	if s<=pass_percent then
		chat("Szkolenie przebiegło pomyślnie")
		chat("Otrzymałeś zwykłego konia")
		pc.give_item2(50051)
		horse.advance()
		horse.summon()
	else
		chat("Szkolenie niepomyślne")
		end
	end
end
end
quest medal2 begin
state start begin
	when 50050.use with horse.get_level()>=1 and horse.get_level()<10 and horse.get_grade()==1 begin
	local pass_percent=90
	local s=number(1,100)
	pc.remove_item(50050, 1)
	if s<=pass_percent then
		chat("Szkolenie przebiegło pomyślnie")
		chat("Poziom konia został zwiększony")
		horse.advance()
		horse.summon()
	else
		chat("Szkolenie niepomyślne")
		end
	end
end
end
quest medal3 begin
state start begin
	when 50050.use with horse.get_level()==10 and horse.get_grade()==1 begin
	local pass_percent=25
	local s=number(1,100)
	pc.remove_item(50050, 1)
	if s<=pass_percent then
		chat("Szkolenie przebiegło pomyślnie")
		chat("Otrzymałeś konia bojowego")
		pc.give_item2(50052)
		pc.remove_item(50051, 1)
		horse.unride()
		horse.unsummon()
		horse.advance()
		horse.summon()
	else
		chat("Szkolenie niepomyślne")
		end
	end
end
end
quest medal4 begin
state start begin
	when 50050.use with horse.get_level()>10 and horse.get_level()<20  and horse.get_grade()==2 begin
	local pass_percent=50
	local s=number(1,100)
	pc.remove_item(50050, 1)
	if s<=pass_percent then
		chat("Szkolenie przebiegło pomyślnie")
		chat("Poziom konia został zwiększony")
		horse.advance()
		horse.summon()
	else
		chat("Szkolenie niepomyślne")
		end
	end
end
end
quest medal5 begin
state start begin
	when 50050.use with horse.get_level()==20 and horse.get_grade()==2 begin
	local pass_percent=10
	local s=number(1,100)
	pc.remove_item(50050, 1)
	if s<=pass_percent then
		chat("Szkolenie przebiegło pomyślnie")
		chat("Otrzymałeś konia wojskowego")
		pc.give_item2(50053)
		pc.remove_item(50052, 1)
		horse.unride()
		horse.unsummon()
		horse.advance()
		horse.summon()
	else
		chat("Szkolenie niepomyślne")
		end
	end
end
end
quest medal6 begin
state start begin
	when 50050.use with horse.get_level()>=21 and horse.get_level()<30 and horse.get_grade()==3 begin
	local pass_percent=25
	local s=number(1,100)
	pc.remove_item(50050, 1)
	if s<=pass_percent then
		chat("Szkolenie przebiegło pomyślnie")
		chat("Poziom konia został zwiększony")
		horse.advance()
		horse.summon()
	else
		chat("Szkolenie niepomyślne")
		end
	end
end
end

 

 

Wersja z ograniczeniem zwykłego konia od 25, bojowca 35lvl i militara 45:

 

quest medal1 begin
state start begin
	when 50050.use with horse.get_level()==0 and horse.get_grade()==0 and pc.get_level()>=25 begin
	local pass_percent=100
	local s=number(1,100)
	pc.remove_item(50050, 1)
	if s<=pass_percent then
		chat("Szkolenie przebiegło pomyślnie")
		chat("Otrzymałeś zwykłego konia")
		pc.give_item2(50051)
		horse.advance()
		horse.summon()
	else
		chat("Szkolenie niepomyślne")
		end
	end
end
end
quest medal2 begin
state start begin
	when 50050.use with horse.get_level()>=1 and horse.get_level()<10 and horse.get_grade()==1 and pc.get_level()>=25 begin
	local pass_percent=90
	local s=number(1,100)
	pc.remove_item(50050, 1)
	if s<=pass_percent then
		chat("Szkolenie przebiegło pomyślnie")
		chat("Poziom konia został zwiększony")
		horse.advance()
		horse.summon()
	else
		chat("Szkolenie niepomyślne")
		end
	end
end
end
quest medal3 begin
state start begin
	when 50050.use with horse.get_level()==10 and horse.get_grade()==1 and pc.get_level()>=35 begin
	local pass_percent=25
	local s=number(1,100)
	pc.remove_item(50050, 1)
	if s<=pass_percent then
		chat("Szkolenie przebiegło pomyślnie")
		chat("Otrzymałeś konia bojowego")
		pc.give_item2(50052)
		pc.remove_item(50051, 1)
		horse.unride()
		horse.unsummon()
		horse.advance()
		horse.summon()
	else
		chat("Szkolenie niepomyślne")
		end
	end
end
end
quest medal4 begin
state start begin
	when 50050.use with horse.get_level()>10 and horse.get_level()<20  and horse.get_grade()==2 and pc.get_level()>=35 begin
	local pass_percent=50
	local s=number(1,100)
	pc.remove_item(50050, 1)
	if s<=pass_percent then
		chat("Szkolenie przebiegło pomyślnie")
		chat("Poziom konia został zwiększony")
		horse.advance()
		horse.summon()
	else
		chat("Szkolenie niepomyślne")
		end
	end
end
end
quest medal5 begin
state start begin
	when 50050.use with horse.get_level()==20 and horse.get_grade()==2 and pc.get_level()>=45 begin
	local pass_percent=10
	local s=number(1,100)
	pc.remove_item(50050, 1)
	if s<=pass_percent then
		chat("Szkolenie przebiegło pomyślnie")
		chat("Otrzymałeś konia wojskowego")
		pc.give_item2(50053)
		pc.remove_item(50052, 1)
		horse.unride()
		horse.unsummon()
		horse.advance()
		horse.summon()
	else
		chat("Szkolenie niepomyślne")
		end
	end
end
end
quest medal6 begin
state start begin
	when 50050.use with horse.get_level()>=21 and horse.get_level()<30 and horse.get_grade()==3 and pc.get_level()>=45 begin
	local pass_percent=25
	local s=number(1,100)
	pc.remove_item(50050, 1)
	if s<=pass_percent then
		chat("Szkolenie przebiegło pomyślnie")
		chat("Poziom konia został zwiększony")
		horse.advance()
		horse.summon()
	else
		chat("Szkolenie niepomyślne")
		end
	end
end
end
quest medal7 begin
state start begin
	when 50050.use with horse.get_level()==0 and pc.get_level()<25 begin
	chat("Aby otrzymać konia musisz mieć co najmniej 25 poziom")
	end
end
end
quest medal8 begin
state start begin
	when 50050.use with horse.get_level()==10 and pc.get_level()<35 begin
	chat("Aby otrzymać konia bojowego musisz mieć co najmniej 35 poziom")
	end
end
end
quest medal9 begin
state start begin
	when 50050.use with horse.get_level()==20 and pc.get_level()<45 begin
	chat("Aby otrzymać konia militarnego musisz mieć co najmniej 45 poziom")
	end
end
end

 

 

Download ze speedy:

http://speedy.sh/mhsAk/quest.rar

 

Skan (0/41):

https://www.virustot...sis/1336404084/

sygnatura2.png


Opublikowano

Gość może mieć konika odwołanego, a ciekawiej jest jak sobie przybiega.

 

A schodzi i wchodzi na tych poziomach kiedy się zmienia rodzaj konia, bo do zmiany wyglądu jest to konieczne.

sygnatura2.png


Opublikowano

Questa (Oba) prosiłbym, żeby był do pobrania np z speedyshare (Nie bardzo chcę mi się przepisywać z fona..). Lajka dałem. ;>

 

@Edit. Wielkie dzięki. ;)

Opublikowano

Dlaczego wszystko nie jest 'połączone' ze sobą w jeden quest ? :( ogólnie może być

 

@down

No tak, wgrywamy za pośrednictwem jednego ale po chuj mają się Tworzyć niepotrzebne pliki z nazwą 'nowego' questa i state'ami ?

 

umarł

Opublikowano

a jest jakaś różnica czy jest w jednym queście czy w wielu mniejszych? I tak wgrywasz jeden plik z questem.

 

Edit.

Aktualnie nie mam już żadnego serwera, quest stary, ale może i masz trochę racji. Następnym razem zrobię ci w jednym state.

 

@Terenzo

dodałem na speedyshare

sygnatura2.png


Opublikowano

Ludzie kochani przestancie dawać tak banalne questy. TO jest bez sensu

Pamiętajcie jakby co to gwałcę za pieniądze. Dla znajmoch taniej

1342438901-U0.png

jam jest król nobuf.

można mnie spotkać grającego w metina.

Opublikowano

@Up dla ciebie banał ale dla nowiaka? To jest cudo ;]

 

Co do questa to w sumie pomysł dobry ale także łatwy w wykonaniu więc lajka ni ma.

`


Zbyt pokręcony by żyć :((  , zbyt rzadki by umrzeć B) .


 


­

Opublikowano

@Up dla ciebie banał ale dla nowiaka? To jest cudo ;]

 

Co do questa to w sumie pomysł dobry ale także łatwy w wykonaniu więc lajka ni ma.

 

To niech laik się uczy a nie zbiera gotowce, bo potem ani me ani be. Byle jaki problem i trzeba na mpcforum leciec

sygna.png
Opublikowano

To niech laik się uczy a nie zbiera gotowce, bo potem ani me ani be. Byle jaki problem i trzeba na mpcforum leciec

w zasadzie, to po to jest chyba to forum :ninja:

56790073090842608341.png

Dołącz do społeczności najlepszego serwera Metin2 w Polsce

Przenieś mnie !

  • 2 miesiące temu...
Opublikowano

To niech laik się uczy a nie zbiera gotowce, bo potem ani me ani be. Byle jaki problem i trzeba na mpcforum leciec

gdzie to dodać ??

co łączy te dwa posty :D?

 

@ontyworn

dzienx, już wiem jakie questy bede widział na 90% hardów jakie wyjdą yay!

dobry quest.

//pornografia

  • 5 miesięcy temu...
  • 7 miesięcy temu...
  • 6 miesięcy temu...
Opublikowano

moge prosic o tego questa z mozliwoscia uzywania co 6h ,i komunikatem ile do konca nastepnej mozliwosci uzycia? dam LIMIT LAJKA!! DZIEKUJE

Opublikowano

Tutaj znajduje się quest z ograniczeniem czasowym jak prosił BooMeKK co 6h.

 

 

quest medal1 begin
	state start begin
		when 50050.use with horse.get_level()==0 and horse.get_grade()==0 and pc.get_level()>=25 begin
			local pass_percent = 100
			local s = number(1, 100)
			local name = pc.get_name()
			local t = game.get_event_flag("horse_advance_"..name.."_time") - get_time()
			if get_time() > game.get_event_flag("horse_advance_"..name.."_time") then
				if s <= pass_percent then
					chat("Szkolenie przebiegło pomyślnie")
					chat("Otrzymałeś zwykłego konia")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.give_item2(50051)
					pc.remove_item(50050, 1)
					horse.advance()
					horse.summon()
				else
					chat("Szkolenie niepomyślne")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
				end
			else
				syschat(string.format("Pozostało %s godz.", math.ceil(t/3600)))
			end
		end
	end
end
quest medal2 begin
	state start begin
		when 50050.use with horse.get_level()>=1 and horse.get_level()<10 and horse.get_grade()==1 and pc.get_level()>=25 begin
			local pass_percent = 90
			local s = number(1, 100)
			local name = pc.get_name()
			local t = game.get_event_flag("horse_advance_"..name.."_time") - get_time()
			if get_time() > game.get_event_flag("horse_advance_"..name.."_time") then
				if s <= pass_percent then
					chat("Szkolenie przebiegło pomyślnie")
					chat("Poziom konia został zwiększony")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
					horse.advance()
					horse.summon()
				else
					chat("Szkolenie niepomyślne")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
				end
			else
				syschat(string.format("Pozostało %s godz.", math.ceil(t/3600)))
			end
		end
	end
end
quest medal3 begin
	state start begin
		when 50050.use with horse.get_level()==10 and horse.get_grade()==1 and pc.get_level()>=35 begin
			local pass_percent = 25
			local s = number(1, 100)
			local name = pc.get_name()
			local t = game.get_event_flag("horse_advance_"..name.."_time") - get_time()
			if get_time() > game.get_event_flag("horse_advance_"..name.."_time") then
				if s <= pass_percent then
					chat("Szkolenie przebiegło pomyślnie")
					chat("Otrzymałeś konia bojowego")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
					pc.give_item2(50052)
					pc.remove_item(50051, 1)
					horse.unride()
					horse.unsummon()
					horse.advance()
					horse.summon()
				else
					chat("Szkolenie niepomyślne")
					pc.remove_item(50050, 1)
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
				end
			else
				syschat(string.format("Pozostało %s godz.", math.ceil(t/3600)))
			end
		end
	end
end
quest medal4 begin
	state start begin
		when 50050.use with horse.get_level()>10 and horse.get_level()<20  and horse.get_grade()==2 and pc.get_level()>=35 begin
			local pass_percent = 50
			local s = number(1,100)
			local name = pc.get_name()
			local t = game.get_event_flag("horse_advance_"..name.."_time") - get_time()
			if get_time() > game.get_event_flag("horse_advance_"..name.."_time") then
				if s <= pass_percent then
					chat("Szkolenie przebiegło pomyślnie")
					chat("Poziom konia został zwiększony")
					pc.remove_item(50050, 1)
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					horse.advance()
					horse.summon()
				else
					chat("Szkolenie niepomyślne")
					pc.remove_item(50050, 1)
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
				end
			else
				syschat(string.format("Pozostało %s godz.", math.ceil(t/3600)))
			end
		end
	end
end
quest medal5 begin
	state start begin
		when 50050.use with horse.get_level()==20 and horse.get_grade()==2 and pc.get_level()>=45 begin
			local pass_percent = 10
			local s = number(1,100)
			local name = pc.get_name()
			local t = game.get_event_flag("horse_advance_"..name.."_time") - get_time()
			if get_time() > game.get_event_flag("horse_advance_"..name.."_time") then
				if s <= pass_percent then
					chat("Szkolenie przebiegło pomyślnie")
					chat("Otrzymałeś konia wojskowego")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
					pc.give_item2(50053)
					pc.remove_item(50052, 1)
					horse.unride()
					horse.unsummon()
					horse.advance()
					horse.summon()
				else
					chat("Szkolenie niepomyślne")
					pc.remove_item(50050, 1)
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
				end
			else
				syschat(string.format("Pozostało %s godz.", math.ceil(t/3600)))
			end
		end
	end
end
quest medal6 begin
	state start begin
		when 50050.use with horse.get_level()>=21 and horse.get_level()<30 and horse.get_grade()==3 and pc.get_level()>=45 begin
			local pass_percent = 25
			local s = number(1,100)
			local name = pc.get_name()
			local t = game.get_event_flag("horse_advance_"..name.."_time") - get_time()
			if get_time() > game.get_event_flag("horse_advance_"..name.."_time") then
				if s <= pass_percent then
					chat("Szkolenie przebiegło pomyślnie")
					chat("Poziom konia został zwiększony")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
					horse.advance()
					horse.summon()
				else
					chat("Szkolenie niepomyślne")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
				end
			else
				syschat(string.format("Pozostało %s godz.", math.ceil(t/3600)))
			end
		end
	end
end
quest medal7 begin
	state start begin
		when 50050.use with horse.get_level()==0 and pc.get_level()<25 begin
		chat("Aby otrzymać konia musisz mieć co najmniej 25 poziom")
		end
	end
end
quest medal8 begin
	state start begin
		when 50050.use with horse.get_level()==10 and pc.get_level()<35 begin
		chat("Aby otrzymać konia bojowego musisz mieć co najmniej 35 poziom")
		end
	end
end
quest medal9 begin
	state start begin
		when 50050.use with horse.get_level()==20 and pc.get_level()<45 begin
		chat("Aby otrzymać konia militarnego musisz mieć co najmniej 45 poziom")
		end
	end
end

 

 

http://wklej.to/Ru1DA
http://wklej.org/id/1278500/

Czas edytujemy w linijkach: 

game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)

w miejsce "60*60*6" wpisujemy czas w sekundach. :)

dCrwk2h.gif

Opublikowano

Tutaj znajduje się quest z ograniczeniem czasowym jak prosił BooMeKK co 6h.

 

 

quest medal1 begin
	state start begin
		when 50050.use with horse.get_level()==0 and horse.get_grade()==0 and pc.get_level()>=25 begin
			local pass_percent = 100
			local s = number(1, 100)
			local name = pc.get_name()
			local t = game.get_event_flag("horse_advance_"..name.."_time") - get_time()
			if get_time() > game.get_event_flag("horse_advance_"..name.."_time") then
				if s <= pass_percent then
					chat("Szkolenie przebiegło pomyślnie")
					chat("Otrzymałeś zwykłego konia")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.give_item2(50051)
					pc.remove_item(50050, 1)
					horse.advance()
					horse.summon()
				else
					chat("Szkolenie niepomyślne")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
				end
			else
				syschat(string.format("Pozostało %s godz.", math.ceil(t/3600)))
			end
		end
	end
end
quest medal2 begin
	state start begin
		when 50050.use with horse.get_level()>=1 and horse.get_level()<10 and horse.get_grade()==1 and pc.get_level()>=25 begin
			local pass_percent = 90
			local s = number(1, 100)
			local name = pc.get_name()
			local t = game.get_event_flag("horse_advance_"..name.."_time") - get_time()
			if get_time() > game.get_event_flag("horse_advance_"..name.."_time") then
				if s <= pass_percent then
					chat("Szkolenie przebiegło pomyślnie")
					chat("Poziom konia został zwiększony")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
					horse.advance()
					horse.summon()
				else
					chat("Szkolenie niepomyślne")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
				end
			else
				syschat(string.format("Pozostało %s godz.", math.ceil(t/3600)))
			end
		end
	end
end
quest medal3 begin
	state start begin
		when 50050.use with horse.get_level()==10 and horse.get_grade()==1 and pc.get_level()>=35 begin
			local pass_percent = 25
			local s = number(1, 100)
			local name = pc.get_name()
			local t = game.get_event_flag("horse_advance_"..name.."_time") - get_time()
			if get_time() > game.get_event_flag("horse_advance_"..name.."_time") then
				if s <= pass_percent then
					chat("Szkolenie przebiegło pomyślnie")
					chat("Otrzymałeś konia bojowego")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
					pc.give_item2(50052)
					pc.remove_item(50051, 1)
					horse.unride()
					horse.unsummon()
					horse.advance()
					horse.summon()
				else
					chat("Szkolenie niepomyślne")
					pc.remove_item(50050, 1)
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
				end
			else
				syschat(string.format("Pozostało %s godz.", math.ceil(t/3600)))
			end
		end
	end
end
quest medal4 begin
	state start begin
		when 50050.use with horse.get_level()>10 and horse.get_level()<20  and horse.get_grade()==2 and pc.get_level()>=35 begin
			local pass_percent = 50
			local s = number(1,100)
			local name = pc.get_name()
			local t = game.get_event_flag("horse_advance_"..name.."_time") - get_time()
			if get_time() > game.get_event_flag("horse_advance_"..name.."_time") then
				if s <= pass_percent then
					chat("Szkolenie przebiegło pomyślnie")
					chat("Poziom konia został zwiększony")
					pc.remove_item(50050, 1)
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					horse.advance()
					horse.summon()
				else
					chat("Szkolenie niepomyślne")
					pc.remove_item(50050, 1)
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
				end
			else
				syschat(string.format("Pozostało %s godz.", math.ceil(t/3600)))
			end
		end
	end
end
quest medal5 begin
	state start begin
		when 50050.use with horse.get_level()==20 and horse.get_grade()==2 and pc.get_level()>=45 begin
			local pass_percent = 10
			local s = number(1,100)
			local name = pc.get_name()
			local t = game.get_event_flag("horse_advance_"..name.."_time") - get_time()
			if get_time() > game.get_event_flag("horse_advance_"..name.."_time") then
				if s <= pass_percent then
					chat("Szkolenie przebiegło pomyślnie")
					chat("Otrzymałeś konia wojskowego")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
					pc.give_item2(50053)
					pc.remove_item(50052, 1)
					horse.unride()
					horse.unsummon()
					horse.advance()
					horse.summon()
				else
					chat("Szkolenie niepomyślne")
					pc.remove_item(50050, 1)
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
				end
			else
				syschat(string.format("Pozostało %s godz.", math.ceil(t/3600)))
			end
		end
	end
end
quest medal6 begin
	state start begin
		when 50050.use with horse.get_level()>=21 and horse.get_level()<30 and horse.get_grade()==3 and pc.get_level()>=45 begin
			local pass_percent = 25
			local s = number(1,100)
			local name = pc.get_name()
			local t = game.get_event_flag("horse_advance_"..name.."_time") - get_time()
			if get_time() > game.get_event_flag("horse_advance_"..name.."_time") then
				if s <= pass_percent then
					chat("Szkolenie przebiegło pomyślnie")
					chat("Poziom konia został zwiększony")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
					horse.advance()
					horse.summon()
				else
					chat("Szkolenie niepomyślne")
					game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)
					pc.remove_item(50050, 1)
				end
			else
				syschat(string.format("Pozostało %s godz.", math.ceil(t/3600)))
			end
		end
	end
end
quest medal7 begin
	state start begin
		when 50050.use with horse.get_level()==0 and pc.get_level()<25 begin
		chat("Aby otrzymać konia musisz mieć co najmniej 25 poziom")
		end
	end
end
quest medal8 begin
	state start begin
		when 50050.use with horse.get_level()==10 and pc.get_level()<35 begin
		chat("Aby otrzymać konia bojowego musisz mieć co najmniej 35 poziom")
		end
	end
end
quest medal9 begin
	state start begin
		when 50050.use with horse.get_level()==20 and pc.get_level()<45 begin
		chat("Aby otrzymać konia militarnego musisz mieć co najmniej 45 poziom")
		end
	end
end

 

 

http://wklej.to/Ru1DA
http://wklej.org/id/1278500/

Czas edytujemy w linijkach: 

game.set_event_flag("horse_advance_"..name.."_time", get_time()+60*60*6)

w miejsce "60*60*6" wpisujemy czas w sekundach. :)

Zmienna T nie potrzebna oraz na gwint na event flagach?

Opublikowano

Zmienna T nie potrzebna oraz na gwint na event flagach?

 

KŁEST FLAGI JEBIOM BAZE DANYH I USUWAJOM PLIKI Z MASZYNY ://////////////////////////////////////////

pre_1405084226__sygnatura_3.png

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...