Skocz do zawartości
  • 0

skript na drop nie działa


pringles18
 Udostępnij

Pytanie

Siemka dlaczego taki skripcik nie chce zadziałać


on death of player:
	if attacker is a player:
		set {_amount} to 1
		if player has permission "drop.vip":
			set {_amount} to 2
		chance of 50%:
			give {_amount} apple to player

apple can't be added to a player beacuse the former is neither an item type, an inventory nor an experience point

Odnośnik do komentarza
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Teraz, pringles18 napisał:

Siemka dlaczego taki skripcik nie chce zadziałać


on death of player:
	if attacker is a player:
		set {_amount} to 1
		if player has permission "drop.vip":
			set {_amount} to 2
		chance of 50%:
			give {_amount} apple to player

apple can't be added to a player beacuse the former is neither an item type, an inventory nor an experience point

Popraw na '{_amount} of'.

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
1 minutę temu, pringles18 napisał:

Siemka dlaczego taki skripcik nie chce zadziałać


on death of player:
	if attacker is a player:
		set {_amount} to 1
		if player has permission "drop.vip":
			set {_amount} to 2
		chance of 50%:
			give {_amount} apple to player

apple can't be added to a player beacuse the former is neither an item type, an inventory nor an experience point

Spróbuj "give player {_amount} apple"

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...