if arg-1 is "vip":
if player's balance is less than 1000000:
send "&4&l&oBLAD: &cNie masz tyle $$$..." to player
stop
else:
remove 4000 from player's balance
wait 1 tick
execute console command "pex user %player% group set VIP"
play raw sound "mob.wither.hurt" at players with pitch 1 volume 10
wait 2 ticks
play raw sound "mob.wither.hurt" at players with pitch 1 volume 10
send player title "&6&lVIP" with subtitle "&eGRACZ &6%player% &eKUPIL VIP'A!" for 3 seconds
send "&2&l&o:) &aPomyslnie zakupiono VIP'a" to player
stop
Pytanie
kaczqwee 7
Kod:
if arg-1 is "vip": if player's balance is less than 1000000: send "&4&l&oBLAD: &cNie masz tyle $$$..." to player stop else: remove 4000 from player's balance wait 1 tick execute console command "pex user %player% group set VIP" play raw sound "mob.wither.hurt" at players with pitch 1 volume 10 wait 2 ticks play raw sound "mob.wither.hurt" at players with pitch 1 volume 10 send player title "&6&lVIP" with subtitle "&eGRACZ &6%player% &eKUPIL VIP'A!" for 3 seconds send "&2&l&o:) &aPomyslnie zakupiono VIP'a" to player stopOdnośnik do komentarza
https://skript.pl/temat/23657-dlaczego-to-nie-%C5%9Bmiga/Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi