Witam.Mam problem ze skryptem na Excalibur.Otóż gdy kupuję Excalibur to nie ma on zabitych graczy 0 tylko liczbe ile ogólnie było zabitych graczy tą bronią z innymi numerami seryjnymi.Jeśli ktoś wie jak to naprawić to był bym wdzięczny.
Oto skrypt:
variables:
{licence} = 0
{zabicia} = 0
command /exc:
permission: essentials.item
trigger:
add 1 to {licence}
execute console command "/give %player% diamondsword 1 name:&e&oExcalibur lore:&fDiamond_Sword|&6&oDescription:_&fWlasnosc&f_%player%|&fPlayers_Killed:_%{zabicia}%|&fStrange_Weapon:_%{licence}%"
on damage:
if name of attacker's tool is "&e&oExcalibur":
remove strength from the attacker
apply strength 5.5 to attacker for 3.9 seconds
on death of player:
if name of attacker's tool is "&e&oExcalibur lore:&fDiamond_Sword|&6&oDescription: &fWlasnosc&f_%player%|&fZabici_Gracze:_%{zabicia}%|&fNumer_Seryjny:_%{licence}%":
add 1 to {zabicia}
on rightclick on sign:
if line 1 is "&1[Excalibur]":
if line 2 is "&eNajlepsza":
if line 3 is "&eBron":
if line 4 is "$300000":
if player's balance is greater than 300000:
remove 300000 from player's account
execute console command "/give %player% diamondsword 1 name:&e&oExcalibur lore:&fDiamond_Sword|&6&oDescription:_&fWlasnosc&f_%player%|&fPlayers_Killed:_%{zabicia}%|&fStrange_Weapon:_%{licence}%"
add 1 to {licence}
send "&6[SignShop] &fZakupiles Excalibur Najlepsza Bron za &a$300000&f!"
else:
send "&6[SignShop] &fNie masz wystarczajaco duzo dolarow ! Wykonuj prace i zarabiaj lub zamow je smsem !"
Pytanie
szymon5675 0
Witam.Mam problem ze skryptem na Excalibur.Otóż gdy kupuję Excalibur to nie ma on zabitych graczy 0 tylko liczbe ile ogólnie było zabitych graczy tą bronią z innymi numerami seryjnymi.Jeśli ktoś wie jak to naprawić to był bym wdzięczny.
Oto skrypt:
variables:
{licence} = 0
{zabicia} = 0
command /exc:
permission: essentials.item
trigger:
add 1 to {licence}
execute console command "/give %player% diamondsword 1 name:&e&oExcalibur lore:&fDiamond_Sword|&6&oDescription:_&fWlasnosc&f_%player%|&fPlayers_Killed:_%{zabicia}%|&fStrange_Weapon:_%{licence}%"
on damage:
if name of attacker's tool is "&e&oExcalibur":
remove strength from the attacker
apply strength 5.5 to attacker for 3.9 seconds
on death of player:
if name of attacker's tool is "&e&oExcalibur lore:&fDiamond_Sword|&6&oDescription: &fWlasnosc&f_%player%|&fZabici_Gracze:_%{zabicia}%|&fNumer_Seryjny:_%{licence}%":
add 1 to {zabicia}
on rightclick on sign:
if line 1 is "&1[Excalibur]":
if line 2 is "&eNajlepsza":
if line 3 is "&eBron":
if line 4 is "$300000":
if player's balance is greater than 300000:
remove 300000 from player's account
execute console command "/give %player% diamondsword 1 name:&e&oExcalibur lore:&fDiamond_Sword|&6&oDescription:_&fWlasnosc&f_%player%|&fPlayers_Killed:_%{zabicia}%|&fStrange_Weapon:_%{licence}%"
add 1 to {licence}
send "&6[SignShop] &fZakupiles Excalibur Najlepsza Bron za &a$300000&f!"
else:
send "&6[SignShop] &fNie masz wystarczajaco duzo dolarow ! Wykonuj prace i zarabiaj lub zamow je smsem !"
Odnośnik do komentarza
https://skript.pl/temat/20008-excalibur/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi