on mine of stone:
if {turbodrop.%player%} is true:
give 2 diamond to the player
send "&aTurboDrop!"
if {turbodrop.%player%} is false:
give 1 diamond to the player
send "&cTurboDrop!"
command /turbodrop [<player>] [<text>]:
trigger:
if arg 1 is not set:
if arg 2 is not set:
send "&cBlad: &4Poprawne uzycie: /turbodrop [Gracz] [Czas]"
if arg 1 is set:
if arg 2 is set:
broadcast "&8[&aTURBODROP&8] &aTurboDrop wylosowany dla gracza &6%player% &ana czas &6 &aminut."
set {turbodrop.%player%} to true
wait arg 2
broadcast "&cTURBODROP WYGASL"
set {turbodrop.%player%} to false
Pytanie
MaxTheFuck 1
variables:
{turbodrop.%player%} = false
on mine of stone:
if {turbodrop.%player%} is true:
give 2 diamond to the player
send "&aTurboDrop!"
if {turbodrop.%player%} is false:
give 1 diamond to the player
send "&cTurboDrop!"
command /turbodrop [<player>] [<text>]:
trigger:
if arg 1 is not set:
if arg 2 is not set:
send "&cBlad: &4Poprawne uzycie: /turbodrop [Gracz] [Czas]"
if arg 1 is set:
if arg 2 is set:
broadcast "&8[&aTURBODROP&8] &aTurboDrop wylosowany dla gracza &6%player% &ana czas &6 &aminut."
set {turbodrop.%player%} to true
wait arg 2
broadcast "&cTURBODROP WYGASL"
set {turbodrop.%player%} to false
Nie działą mi wait arg 2 dlaczego?
Odnośnik do komentarza
https://skript.pl/temat/10469-turbodrop-pomocy/Udostępnij na innych stronach
21 odpowiedzi na to pytanie
Rekomendowane odpowiedzi