Witam, mam problem z Skryptem. Jeśli mam OP lub Gwiazdkę to mi spami na chacie tym powiadomieniem które jest widoczne w Kod Skryptu. Mam pytanie bo nie siedzę tak w Skryptach. Czy da się opóźnić te powiadomienie jak ktoś kliknie PPM to żeby mu nie za spamiło chatu.
Kod Skryptu:
on right click:
if player doesn't have permission "voucher.vip":
if player is holding paper named "&f&lVoucher &8[&6VIP&8]":
make console execute command "pex user %player% group set vip"
make console execute command "nick %player% &6%player%"
remove 1 paper named "&f&lVoucher &8[&6VIP&8]" from the player
else:
send "&4Blad: &cNie mozesz uzyc Vouchera poniewaz posiadasz już Range VIP/SVIP."
stop
if player doesn't have permission "voucher.svip":
if player is holding paper named "&f&lVoucher &8[&6VIP&8]":
make console execute command "pex user %player% group set svip"
make console execute command "nick %player% &3%player%"
remove 1 paper named "&f&lVoucher &8[&3SVIP&8]" from the player
else:
send "&4Blad: &cNie mozesz uzyc Vouchera poniewaz posiadasz już Range SVIP."
stop
if player is holding paper named "&f&lVoucher &a$500k":
make console execute command "eco give %player% 500000"
remove 1 paper named "&f&lVoucher &a$500k" from the player
stop
Pytanie
wiktor_k 0
Witam, mam problem z Skryptem. Jeśli mam OP lub Gwiazdkę to mi spami na chacie tym powiadomieniem które jest widoczne w Kod Skryptu. Mam pytanie bo nie siedzę tak w Skryptach. Czy da się opóźnić te powiadomienie jak ktoś kliknie PPM to żeby mu nie za spamiło chatu.
Kod Skryptu:
on right click: if player doesn't have permission "voucher.vip": if player is holding paper named "&f&lVoucher &8[&6VIP&8]": make console execute command "pex user %player% group set vip" make console execute command "nick %player% &6%player%" remove 1 paper named "&f&lVoucher &8[&6VIP&8]" from the player else: send "&4Blad: &cNie mozesz uzyc Vouchera poniewaz posiadasz już Range VIP/SVIP." stop if player doesn't have permission "voucher.svip": if player is holding paper named "&f&lVoucher &8[&6VIP&8]": make console execute command "pex user %player% group set svip" make console execute command "nick %player% &3%player%" remove 1 paper named "&f&lVoucher &8[&3SVIP&8]" from the player else: send "&4Blad: &cNie mozesz uzyc Vouchera poniewaz posiadasz już Range SVIP." stop if player is holding paper named "&f&lVoucher &a$500k": make console execute command "eco give %player% 500000" remove 1 paper named "&f&lVoucher &a$500k" from the player stop
Edytowane przez LjayPL789Wstawiam w code.
Notatka dodana przez bludis
Odnośnik do komentarza
https://skript.pl/temat/30773-problem-z-skryptem/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi