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

Naprawienie skryptu


minsraf

Rekomendowane odpowiedzi

Opublikowano

on tool change:

wait 1 tick

player's tool is diamond sword:

set player's helmet to diamond helmet

set player's chestplate to diamond chestplate

set player's leggings to diamond leggings

set player's boots to diamond boots

set {pvp::%player%} to true

send "&cPVP: &fON"

else:

set player's helmet to air

set player's chestplate to air

set player's leggings to air

set player's boots to air

set {pvp::%player%} to false

send "&cPVP: &fOFF"

 

Pomoże ktos że jak się kliknie to czeka się 3 sekundy zeby sie włączył tryb pvp tak samo przy wyłączeniu

Opublikowano

To miałeś na myśli ?

Usuń dwunastą linie.

on tool change:
	wait 1 tick
	player's tool is diamond sword:
		wait 3 seconds
		set player's helmet to diamond helmet
		set player's chestplate to diamond chestplate
		set player's leggings to diamond leggings
		set player's boots to diamond boots
		set {pvp::%player%} to true
		send "&cPVP: &fON"
	else:
		send "&cPVP: &fOFF"
		wait 3 seconds
		set player's helmet to air
		set player's chestplate to air
		set player's leggings to air
		set player's boots to air
		set {pvp::%player%} to false
		send "&cPVP: &fOFF"
Opublikowano


on tool change:

player's tool is diamond sword:

wait 3 seconds

if player's tool is diamond sword:

set player's helmet to diamond helmet

set player's chestplate to diamond chestplate

set player's leggings to diamond leggings

set player's boots to diamond boots

set {pvp::%player%} to true

send "&cPVP: &fON"

else:

send "&cZmieniles przedmiot!"

else:

wait 3 seconds

if player's tool isn't diamond sword:

set player's helmet to air

set player's chestplate to air

set player's leggings to air

set player's boots to air

set {pvp::%player%} to false

send "&cPVP: &fOFF"

stop

 

Uważam, że poziom mojej inteligencji nie przekracza poziomu inteligencji przeciętnego człowieka.

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...