on first join:
clear player's inventory
add diamond sword named "&aMieczyk &e%player%" to player's inventory
add bow to player's inventory
add 64 steak named "&aJedzenie! &e%player%" to player's inventory
add 64 arrow to player's inventory
add iron helmet named "&aCzapeczka! &e%player%" to the player's helmet
add iron chestplate named "&aKlata! &e%player%" to the player's chestplate
add iron leggings named "&aGacie! &e%player%" to the player's leggings
add iron boots named "&aButki! &e%player%" to the player's boots
on death:
if victim is player:
chance of 100%:
add 1 diamond to attacker
chance of 80%:
add 1 bottle o' enchanting to attacker
on respawn:
clear player's inventory
add diamond sword named "&aMieczyk &e%player%" to player's inventory
add bow to player's inventory
add 64 steak named "&aJedzenie! &e%player%" to player's inventory
add 64 arrow to player's inventory
add iron helmet named "&aCzapeczka! &e%player%" to the player's helmet
add iron chestplate named "&aKlata! &e%player%" to the player's chestplate
add iron leggings named "&aGacie! &e%player%" to the player's leggings
add iron boots named "&aButki! &e%player%" to the player's boots
niestety nie daje on itemów po respawnie graczowi który umarł.
Pytanie
MaxTheFuck 1
Witam mam proble mz tym skryptem
on first join: clear player's inventory add diamond sword named "&aMieczyk &e%player%" to player's inventory add bow to player's inventory add 64 steak named "&aJedzenie! &e%player%" to player's inventory add 64 arrow to player's inventory add iron helmet named "&aCzapeczka! &e%player%" to the player's helmet add iron chestplate named "&aKlata! &e%player%" to the player's chestplate add iron leggings named "&aGacie! &e%player%" to the player's leggings add iron boots named "&aButki! &e%player%" to the player's boots on death: if victim is player: chance of 100%: add 1 diamond to attacker chance of 80%: add 1 bottle o' enchanting to attacker on respawn: clear player's inventory add diamond sword named "&aMieczyk &e%player%" to player's inventory add bow to player's inventory add 64 steak named "&aJedzenie! &e%player%" to player's inventory add 64 arrow to player's inventory add iron helmet named "&aCzapeczka! &e%player%" to the player's helmet add iron chestplate named "&aKlata! &e%player%" to the player's chestplate add iron leggings named "&aGacie! &e%player%" to the player's leggings add iron boots named "&aButki! &e%player%" to the player's bootsniestety nie daje on itemów po respawnie graczowi który umarł.
Edytowane przez CountingDogsWstawiam w code
Notatka dodana przez CountingDogs
Odnośnik do komentarza
https://skript.pl/temat/42444-problem-z-on-respawn/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.