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

Szukam trzech skryptów na creative z blokowaniem innych rzeczy.


RemcioHC

Rekomendowane odpowiedzi

Opublikowano
Szukam 3 skryptów :)

1. Skrypt, który robi 2 oddzielne eq np. ktoś włączy gm 1 ma inne eq i inne rzeczy a jak potem włączy gm 0 to ma itemy co zbierał :)

2. Skrypt, który blokuje branie niektórych itemów z gm 1

3. Skryptu, który blokuje wkładanie itemów z gm 1 do skrzyni, pieca i tp i ich wyżucanie.

Opublikowano

on drop:
	if player gamemode is creative:
		cancel event
		send "&cNie mozesz wyrzucac na Creative"

every 1 tick:
	if player gamemode is creative:
		if player has NAZWA ITEMU:
			remove NAZWA ITEMU from player

Powinno pomóc przy blokowaniu itemów

command /gamemode [<text>]:
	aliases: gm
	trigger:
		if arg 1 is set:
			if arg 1 is "1"
				set player gamemode to creative
				set {ekwipunek.%player%} to serialized inventory of player
				set {helm.%player%} to %helmet of the player%set {klata.%player%} to %chestplate of the player%set {gacie.%player%} to %legging of the player%set {buty.%player%} to %boots of the player%
			if arg 1 is "0"
				set player gamemode to survival
				equip the player with {helm.%player%} parsed as itemequip the player with {klata.%player%} parsed as itemequip the player with {gacie.%player%} parsed as itemequip the player with {buty.%player%} parsed as item
				restore inventory of player from {ekwipunek.%player%}

To jest nie testowane ;/ ale powinno zadziałać

Opublikowano
on drop:
	if player gamemode is creative:
		cancel event
		send "&cNie mozesz wyrzucac na Creative"
every 1 tick:
	if player gamemode is creative:
		if player has NAZWA ITEMU:
			remove NAZWA ITEMU from player

Powinno pomóc przy blokowaniu itemów

command /gamemode [<text>]:
	aliases: gm
	trigger:
		if arg 1 is set:
			if arg 1 is "1"
				set player gamemode to creative
				set {ekwipunek.%player%} to serialized inventory of player
				set {helm.%player%} to %helmet of the player%set {klata.%player%} to %chestplate of the player%set {gacie.%player%} to %legging of the player%set {buty.%player%} to %boots of the player%
			if arg 1 is "0"
				set player gamemode to survival
				equip the player with {helm.%player%} parsed as itemequip the player with {klata.%player%} parsed as itemequip the player with {gacie.%player%} parsed as itemequip the player with {buty.%player%} parsed as item
				restore inventory of player from {ekwipunek.%player%}

To jest nie testowane ;/ ale powinno zadziałać

 

A tam gdzie jest nazwa to po angielsku wprowadzić czy za pomocą ip?

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...