Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Problem W Skrypcie - Pisanie Po wykopaniu 200 stone


us3rn0tf0und

Rekomendowane odpowiedzi

Opublikowano

Cześć mam taki skrypcik :

on first join:
	set {stone::%player%} to 0
	
on chat:
	if {stone::%player% is less than 200:
	cancel event
	send "&4&lMusisz wykopac &a&l{stone::%player%} stone &4&laby odblokowac chat!"
	
on mine stone:
	add 1 to {stone::%player%} 

Posiadam silnik paperspigot 1.8.8 , Skript , Skqery 1.8 , Wildscript 1.8 

 

Mam takie errory : 

[12:37:50 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (elo.sk.sk, line 5: if {stone::%player% is less than 200:')
[12:37:50 ERROR]: Invalid amount or placement of brackets. Please make sure that each opening bracket has a corresponding closing bracket. (elo.sk.sk, line 5: if {stone::%player% is less than 200:')
[12:37:50 INFO]: Loaded 1 script with a total of 6 triggers and 1 command in 0.1 seconds

Nie wykopałem 200 stone , Powinien być ten komunikat :

Musisz wykopać 200 stone aby odblokowac chat ! 

 

Jest taki :

Musisz wykopać {stone::MOJNICKaby odblokowac chat !

 

 

Proszę o pomoc ! 

Opublikowano

@ CevaBikaGaming

Dziena , zapomniałem o tym ,  zauważyłem że tu : if {stone::%player% is less than 200: po % powinien być } .

Tylko mam wykopane 300 bloków i nie moge pisać . 

Mam taki log :

[14:40:52 INFO]: [Skript] Reloading the config and all scripts...
[14:40:52 INFO]: Loaded a total of 11504 english aliases
[14:40:52 WARN]: There are no aliases defined for the following ids: 165, 166, 167, 168, 169, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 409, 410, 411, 412, 413, 414, 415, 416, 423, 424, 425, 427, 428, 429, 430, 431
[14:40:52 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (elo.sk.sk, line 5: if {stone::%player%} is less than 200:')
[14:40:52 INFO]: All scripts loaded without errors.
[14:40:52 INFO]: Loaded 1 script with a total of 6 triggers and 1 command in 0.16 seconds
[14:40:52 INFO]: [Skript] Successfully reloaded the config and all scripts.

Jeśli umiesz pomóż :);)

Opublikowano


on join:

if {stone::%player%} is not set:

set {stone::%player%} to 0

 

on chat:

if {stone::%player%} is smaller than 200:

cancel event

send "&4&lMusisz wykopac &a&l%{stone::%player%}% kamienia!"

 

on mine of stone:

add 1 to {stone::%player%}

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...