mam problem bo chce zrobic automatyczna expiarke ze jak gracz stanie na plytke w miejscu ktore ustawie dostaje 1 lvl expa na sekunde
moj kod:
command /setexpiarka [<number>]:
trigger:
if arg 1 is 1:
set {sypaniexpa1} to location of player
send "&aUstawiles punkt spawnowania się expa."
if arg 1 is 2:
set {sypaniexpa2} to location of player
send "&aUstawiles punkt spawnowania się expa."
if arg 1 is 3:
set {sypaniexpa3} to location of player
send "&aUstawiles punkt spawnowania się expa."
every 1 second:
loop all players:
if loop-player's location is {sypaniexpa1} or {sypaniexpa2} or {sypaniexpa3}:
wait 1 second
set the player's level to (player's level +1)
i jest błąd podczas /sk reload expiarka
[Skript] Reloading expiarka.sk...
[09:41:43 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (expiarka.sk, line 18: set the player's level to (player's level +1)')
[09:41:43 INFO]: [Skript] Encountered 1 error while reloading expiarka.sk!
jak to naprawic?
Pytanie
rafi67000 0
mam problem bo chce zrobic automatyczna expiarke ze jak gracz stanie na plytke w miejscu ktore ustawie dostaje 1 lvl expa na sekunde
moj kod:
command /setexpiarka [<number>]:
trigger:
if arg 1 is 1:
set {sypaniexpa1} to location of player
send "&aUstawiles punkt spawnowania się expa."
if arg 1 is 2:
set {sypaniexpa2} to location of player
send "&aUstawiles punkt spawnowania się expa."
if arg 1 is 3:
set {sypaniexpa3} to location of player
send "&aUstawiles punkt spawnowania się expa."
every 1 second:
loop all players:
if loop-player's location is {sypaniexpa1} or {sypaniexpa2} or {sypaniexpa3}:
wait 1 second
set the player's level to (player's level +1)
i jest błąd podczas /sk reload expiarka
[Skript] Reloading expiarka.sk...
[09:41:43 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (expiarka.sk, line 18: set the player's level to (player's level +1)')
[09:41:43 INFO]: [Skript] Encountered 1 error while reloading expiarka.sk!
jak to naprawic?
Odnośnik do komentarza
https://skript.pl/temat/47917-expiarka/Udostępnij na innych stronach
14 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.