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

[TuT] zajebiste komendy


z4z0l

Rekomendowane odpowiedzi

Opublikowano

właśnie się zastanawiałem dlaczego nie zrobił po prostu na pełnym ekranie choć wtedy też nie jest to problemem żeby fejka puścić.

 

umarł

Opublikowano

Liczba w dropie tych przedmiotów eventowych np. /e lotto_drop 300 określa ilość mobków które musimy zabić żeby dropł przedmiot czy % ? :)

Opublikowano

 

wpisz

/e lotto_drop 300

- 300 jest szansą na drop

więc raczej jest z tego wyciągany jakiś %

 

 

@down

dzięki śliczne

 

umarł

Opublikowano

	   local low_value=game.get_event_flag("kids_day_drop")
	    local high_value=game.get_event_flag("kids_day_drop_high")
	    say_title("The percentage of the box for the Children's Day")
	    say(string.format("The percent of the low level : 1/%d", low_value))
	    say(string.format("The percent of the high level  : 1/%d", high_value))
	    local s=select("The modification of the percent of the high level", "The modification of the percent of the high level", "Close")
	    if s==1 then
		    say_title("The modification of the percent of the low level in the Children's Day")
		    say(string.format("The modification of the percent of the low level 1/%d -> ", low_value))
		    local v=tonumber(input())
		    if v<300 then
			    say("You can't adjust less than 300 levels")

			    if not is_test_server() then
					    return
			    end

			    say("In the test server possible ")
		    end

		    say(string.format("The modification of the lower level in the ChildrenˇŻs Day Quiz 1/%d -> 1/%d", low_value, v))
		    local s=select("Confirm", "Cancel")
		    if s==1 then
			    say("Changed")
			    game.set_event_flag("kids_day_drop", v)
		    else
			    say("Cancelled")
		    end
	    elseif s==2 then
		    say_title("The modification of the higher level in the Children's Day")
		    say(string.format("The modification of the high percentage Level 1/%d -> ", high_value))
		    local v=tonumber(input())
		    if v<300 then
			    say("You can't adjust less than 300 levels")

			    if not is_test_server() then
					    return
			    end

			    say("In the test server possible ")
		    end

		    say(string.format("The modification of the percent for the low level 1/%d -> 1/%d", high_value, v))
		    local s=select("Confirm", "Cancel")
		    if s==1 then
			    say("Changed")
			    game.set_event_flag("kids_day_drop_high", v)
		    else
			    say("Cancelled")
		    end
	    end
    end

 

Można sobie przeanalizować tą część kodu i wynieść odpowiednie wnioski :)

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...