Skocz do zawartości
  • 0

Zgony


gnomsy

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

%victim% to osoba która otrzymuje dmg, a %attacker% to atakujący

 

Tu masz poprawiony kod:

on death:
	if attacker is player:
		if victim is zombie:
			set death message to "&a%attacker% &7zabil zombie!"
		if victim is spider:
			set death message to "&a%attacker% &7zabil pajak!"
		if victim is creeper:
			set death message to "&a%attacker% &7zabil creeper!"
		if victim is skeleton:
			set death message to "&a%attacker% &7zabil szkielet!"

 

 

Ale można użyć:

on death:
	if attacker is player:
		set death message to "&a%attacker% &7zabil %victim%!"

 

Odnośnik do komentarza
https://skript.pl/temat/18077-zgony/#findComment-123573
Udostępnij na innych stronach

  • 0
22 minuty temu, MegaLegoTom napisał:

%victim% to osoba która otrzymuje dmg, a %attacker% to atakujący

 

Tu masz poprawiony kod:


on death:
	if attacker is player:
		if victim is zombie:
			set death message to "&a%attacker% &7zabil zombie!"
		if victim is spider:
			set death message to "&a%attacker% &7zabil pajak!"
		if victim is creeper:
			set death message to "&a%attacker% &7zabil creeper!"
		if victim is skeleton:
			set death message to "&a%attacker% &7zabil szkielet!"

 

 

Ale można użyć:


on death:
	if attacker is player:
		set death message to "&a%attacker% &7zabil %victim%!"

 

Niestety nie działa 

Odnośnik do komentarza
https://skript.pl/temat/18077-zgony/#findComment-123582
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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