Witam. Mam problem, otóż nie działa mi {%punkty%} (pierwszy raz to robię) i nie wiem jak to zamienić na poprawne. Oto kod skryptu:
on first join: set {%punkty%} to 0 command /dodaj <text>: add %arg% to {%punkty%} command /punkty: trigger: send "&a&lIlost twoich punktow sklepowych to: &6{%punkty%} command /ranga <text>: trigger: if argument 1 is "VIP": if {%punkty%} is higher than 4: execute console command "/pex user %name of player% group set VIP" remove 5 from {%punkty%} if argument 1 is "VIP+": if {%punkty%} is higher than 9: execute console command "/pex user %name of player% group set VIPPLUS" remove 10 from {%punkty%}
Chciałem aby gracz przez ItemShop kupywał punkty sklepowe, i poprzez grę aktywował rangę.
Pytanie
WiczekPG 4
Witam. Mam problem, otóż nie działa mi {%punkty%} (pierwszy raz to robię) i nie wiem jak to zamienić na poprawne. Oto kod skryptu:
on first join: set {%punkty%} to 0 command /dodaj <text>: add %arg% to {%punkty%} command /punkty: trigger: send "&a&lIlost twoich punktow sklepowych to: &6{%punkty%} command /ranga <text>: trigger: if argument 1 is "VIP": if {%punkty%} is higher than 4: execute console command "/pex user %name of player% group set VIP" remove 5 from {%punkty%} if argument 1 is "VIP+": if {%punkty%} is higher than 9: execute console command "/pex user %name of player% group set VIPPLUS" remove 10 from {%punkty%}Chciałem aby gracz przez ItemShop kupywał punkty sklepowe, i poprzez grę aktywował rangę.
Odnośnik do komentarza
https://skript.pl/temat/3161-punkty/Udostępnij na innych stronach
6 odpowiedzi na to pytanie
Rekomendowane odpowiedzi