Skocz do zawartości
  • 0

Prosty skrypt do zabierania pieniędzy i wykonywania kolejnej komendy


Pytanie

Potrzebuje szablonu skryptu który po wykonaniu komendy "/ik nazwa" zabierze określona przeze mnie ilość pieniędzy i wykona po zabraniu pieniędzy komendę z konsoli :

Gracz wpisuje komendę /ik sofa i zabiera mu 1000$ i wykonuje mu komendę /furniture give sofa nick_gracza 1

Gracz wpisuje komendę /ik gilotyna i zabiera mu  1000$ i wykonuje mu komendę z konsoli /furniture give guillotine nick_gracza 1

Gracz wpisuje komendę /ik parasol i zabiera mu 50$  i wykonuje mu komendę z konsoli /furniture give sunshade nick_gracza 1

Gracz wpisuje komendę /ik stojak i zabiera mu 50$ i wykonuje mu komendę z konsoli /furniture give weaponstand nick_gracza 1

Gracz wpisuje komendę /ik billboard i zabiera mu 50$ i wykonuje mu komendę z konsoli /furniture give billboard nick_gracza 1

Gracz wpisuje komendę /ik billboard i zabiera mu 50$ i wykonuje mu komendę z konsoli /furniture give billboard nick_gracza 1

Gracz wpisuje komendę /ik balwan i zabiera mu 50$ i wykonuje mu komendę z konsoli /furniture give snowgolem nick_gracza 1

Gracz wpisuje komendę /ik kaktus i zabiera mu 50$ i wykonuje mu komendę z konsoli /furniture give cactusplant nick_gracza 1

 

 

Edytowane przez XANT3R
Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/
Udostępnij na innych stronach

Rekomendowane odpowiedzi

  • 0

@LordzikMkoesik Jest trochę błędów

Spoiler

[14:38:14 WARN]: There are no aliases defined for the following ids: 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 438, 441, 453
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 3: player's balance is less than 1000:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 4: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 5: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 6: remove 1000 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 7: execute console command "furniture give sofa %player% 1"')
[14:38:14 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. (meble.sk, line 2: trigger:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 10: player's balance is less than 1000:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 11: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 12: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 13: remove 1000 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 14: execute console command "furniture give guillotine %player% 1"')
[14:38:14 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. (meble.sk, line 9: trigger:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 17: player's balance is less than 50:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 18: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 19: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 20: remove 50 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 21: execute console command "furniture give sunshade %player% 1"')
[14:38:14 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. (meble.sk, line 16: trigger:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 24: player's balance is less than 50:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 25: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 26: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 27: remove 50 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 28: execute console command "furniture give weaponstand %player% 1"')
[14:38:14 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. (meble.sk, line 23: trigger:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 31: player's balance is less than 50:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 32: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 33: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 34: remove 50 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 35: execute console command "furniture give billboard %player% 1"')
[14:38:14 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. (meble.sk, line 30: trigger:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 38: player's balance is less than 50:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 39: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 40: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 41: remove 50 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 42: execute console command "furniture give snowgolem %player% 1"')
[14:38:14 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. (meble.sk, line 37: trigger:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 45: player's balance is less than 50:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 46: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 47: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 48: remove 50 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 49: execute console command "furniture give cactusplant %player% 1"')
[14:38:14 ERROR]: A command with the name /ik is already defined in meble.sk
[14:38:14 ERROR]: A command with the name /ik is already defined in meble.sk
[14:38:14 ERROR]: A command with the name /ik is already defined in meble.sk
[14:38:14 ERROR]: A command with the name /ik is already defined in meble.sk
[14:38:14 ERROR]: A command with the name /ik is already defined in meble.sk
[14:38:14 ERROR]: A command with the name /ik is already defined in meble.sk

 

//Błędy chowam w spoiler. ~ Nioo

Edytowane przez XANT3R
Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155219
Udostępnij na innych stronach

  • 0
Teraz, XANT3R napisał:

@LordzikMkoesik Jest trochę błędów


[14:38:14 WARN]: There are no aliases defined for the following ids: 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 438, 441, 453
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 3: player's balance is less than 1000:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 4: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 5: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 6: remove 1000 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 7: execute console command "furniture give sofa %player% 1"')
[14:38:14 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. (meble.sk, line 2: trigger:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 10: player's balance is less than 1000:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 11: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 12: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 13: remove 1000 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 14: execute console command "furniture give guillotine %player% 1"')
[14:38:14 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. (meble.sk, line 9: trigger:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 17: player's balance is less than 50:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 18: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 19: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 20: remove 50 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 21: execute console command "furniture give sunshade %player% 1"')
[14:38:14 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. (meble.sk, line 16: trigger:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 24: player's balance is less than 50:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 25: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 26: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 27: remove 50 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 28: execute console command "furniture give weaponstand %player% 1"')
[14:38:14 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. (meble.sk, line 23: trigger:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 31: player's balance is less than 50:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 32: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 33: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 34: remove 50 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 35: execute console command "furniture give billboard %player% 1"')
[14:38:14 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. (meble.sk, line 30: trigger:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 38: player's balance is less than 50:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 39: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 40: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 41: remove 50 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 42: execute console command "furniture give snowgolem %player% 1"')
[14:38:14 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. (meble.sk, line 37: trigger:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 45: player's balance is less than 50:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 46: send "&cNie masz tyle pieniedzy!"')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 47: else:')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 48: remove 50 from player's balance')
[14:38:14 ERROR]: indentation error: expected 8 spaces, but found 1 tab (meble.sk, line 49: execute console command "furniture give cactusplant %player% 1"')
[14:38:14 ERROR]: A command with the name /ik is already defined in meble.sk
[14:38:14 ERROR]: A command with the name /ik is already defined in meble.sk
[14:38:14 ERROR]: A command with the name /ik is already defined in meble.sk
[14:38:14 ERROR]: A command with the name /ik is already defined in meble.sk
[14:38:14 ERROR]: A command with the name /ik is already defined in meble.sk
[14:38:14 ERROR]: A command with the name /ik is already defined in meble.sk

 

No to próbowałem zrobic za pomoca else ale nie udalo mi sie [bo nie umiem else uzywac w skrypcie] wiec raczej nei pomoge ;v

Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155220
Udostępnij na innych stronach

  • 0

@LordzikMkoesik Szkoda, dzięki za próbę i czekam dalej :) Teraz sprawa ułatwiona bo poprawią twój skrypt o ile da się go poprawić i będzie ;) 

Edytowane przez XANT3R
Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155221
Udostępnij na innych stronach

  • 0
12 minut temu, LordzikMkoesik napisał:

No to próbowałem zrobic za pomoca else ale nie udalo mi sie [bo nie umiem else uzywac w skrypcie] wiec raczej nei pomoge ;v

Nic nie umiesz, wrzucam poprawione https://code.skript.pl/y9cVqjrz/

Edytowane przez LloydPL
Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155222
Udostępnij na innych stronach

  • 0
Teraz, LordzikMkoesik napisał:

umiem bardzo duzo, ale else nie ogarniam to od razu nie umiem ?

błagam, ty nawet warunków nie potrafisz zrobić i dobrze wytabować skryptu

Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155224
Udostępnij na innych stronach

  • 0
11 minut temu, LloydPL napisał:

Nic nie umiesz, wrzucam poprawione https://code.skript.pl/y9cVqjrz/

[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 3: if player's balance is less than 1000')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 4: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 5: else:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 6: remove 1000 from player's balance')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 7: execute console command "furniture give sofa %player% 1"')
[15:03:01 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. (meble.sk, line 2: trigger:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 10: if player's balance is less than 1000')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 11: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 17: if player's balance is less than 50')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 18: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 24: if player's balance is less than 50')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 25: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 31: if player's balance is less than 50')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 32: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 33: else:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 34: remove 50 from player's balance')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 35: execute console command "furniture give billboard %player% 1"')
[15:03:01 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. (meble.sk, line 30: trigger:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 7 spaces (meble.sk, line 38: if  player's balance is less than 50')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 39: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 40: else:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 41: remove 50 from player's balance')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 42: execute console command "furniture give snowgolem %player% 1"')
[15:03:01 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. (meble.sk, line 37: trigger:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 45: if player's balance is less than 50')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 46: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 47: else:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 48: remove 50 from player's balance')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 49: execute console command "furniture give cactusplant %player% 1"')
[15:03:01 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 12: else:')
[15:03:01 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 19: else:')
[15:03:01 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 26: else:')
[15:03:01 ERROR]: A command with the name /ik is already defined in meble.sk
[15:03:01 ERROR]: A command with the name /ik is already defined in meble.sk
[15:03:01 ERROR]: A command with the name /ik is already defined in meble.sk
[15:03:01 ERROR]: A command with the name /ik is already defined in meble.sk
[15:03:01 ERROR]: A command with the name /ik is already defined in meble.sk
[15:03:01 ERROR]: A command with the name /ik is already defined in meble.sk

@LloydPL Jeszcze nie :/

Edytowane przez XANT3R
Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155225
Udostępnij na innych stronach

  • 0
2 minuty temu, XANT3R napisał:

[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 3: if player's balance is less than 1000')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 4: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 5: else:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 6: remove 1000 from player's balance')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 7: execute console command "furniture give sofa %player% 1"')
[15:03:01 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. (meble.sk, line 2: trigger:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 10: if player's balance is less than 1000')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 11: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 17: if player's balance is less than 50')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 18: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 24: if player's balance is less than 50')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 25: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 31: if player's balance is less than 50')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 32: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 33: else:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 34: remove 50 from player's balance')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 35: execute console command "furniture give billboard %player% 1"')
[15:03:01 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. (meble.sk, line 30: trigger:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 7 spaces (meble.sk, line 38: if  player's balance is less than 50')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 39: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 40: else:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 41: remove 50 from player's balance')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 42: execute console command "furniture give snowgolem %player% 1"')
[15:03:01 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. (meble.sk, line 37: trigger:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 45: if player's balance is less than 50')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 46: send "&cNie masz tyle pieniedzy!"')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 47: else:')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 48: remove 50 from player's balance')
[15:03:01 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 49: execute console command "furniture give cactusplant %player% 1"')
[15:03:01 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 12: else:')
[15:03:01 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 19: else:')
[15:03:01 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 26: else:')
[15:03:01 ERROR]: A command with the name /ik is already defined in meble.sk
[15:03:01 ERROR]: A command with the name /ik is already defined in meble.sk
[15:03:01 ERROR]: A command with the name /ik is already defined in meble.sk
[15:03:01 ERROR]: A command with the name /ik is already defined in meble.sk
[15:03:01 ERROR]: A command with the name /ik is already defined in meble.sk
[15:03:01 ERROR]: A command with the name /ik is already defined in meble.sk

@LloydPL Jeszcze nie :/

NOSZ PRZECZYTAJ TE ERRORY TAM TYLKO DWUKROPKÓW NIE BYŁO!!! https://code.skript.pl/ARcdG1ni/

Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155227
Udostępnij na innych stronach

  • 0
2 minuty temu, LloydPL napisał:

NOSZ PRZECZYTAJ TE ERRORY TAM TYLKO DWUKROPKÓW NIE BYŁO!!! https://code.skript.pl/ARcdG1ni/

NOSZ PRZECZYTAJ SIEBIE, I POTEM ERRORY NIE WIDZISZ ZE TO CALE JEST ZLE ZROBIONE PONIEWAZ NIE MOZE BYC W 1 SKRYPCIE WIECEJ TAKICH SAMYCH KOMEND NP command /ik elo: a potem po skonczeniu komendy command /ik 2: upominasz ludzi choć sam nie umiesz -.-

Edytowane przez LordzikMkoesik
Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155229
Udostępnij na innych stronach

  • 0

@LloydPL Sorry, nie znam się na tym skripcie ;d 

 

[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 3: if player's balance is less than 1000:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 4: send "&cNie masz tyle pieniedzy!"')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 5: else:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 6: remove 1000 from player's balance')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 7: execute console command "furniture give sofa %player% 1"')
[15:07:36 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. (meble.sk, line 2: trigger:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 10: if player's balance is less than 1000:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 11: send "&cNie masz tyle pieniedzy!"')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 17: if player's balance is less than 50:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 18: send "&cNie masz tyle pieniedzy!"')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 24: if player's balance is less than 50:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 25: send "&cNie masz tyle pieniedzy!"')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 31: if player's balance is less than 50:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 32: send "&cNie masz tyle pieniedzy!"')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 33: else:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 34: remove 50 from player's balance')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 35: execute console command "furniture give billboard %player% 1"')
[15:07:36 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. (meble.sk, line 30: trigger:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found '_______->' [-> = tab, _ = space, ? = other whitespace] (meble.sk, line 38: if  player's balance is less than 50:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 39: send "&cNie masz tyle pieniedzy!"')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 40: else:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 41: remove 50 from player's balance')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 42: execute console command "furniture give snowgolem %player% 1"')
[15:07:36 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. (meble.sk, line 37: trigger:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 45: if player's balance is less than 50:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 46: send "&cNie masz tyle pieniedzy!"')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 2 tabs (meble.sk, line 47: else:')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 48: remove 50 from player's balance')
[15:07:36 ERROR]: indentation error: expected 8 spaces, but found 3 tabs (meble.sk, line 49: execute console command "furniture give cactusplant %player% 1"')
[15:07:36 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 12: else:')
[15:07:36 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 19: else:')
[15:07:36 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 26: else:')
[15:07:36 ERROR]: A command with the name /ik is already defined in meble.sk
[15:07:36 ERROR]: A command with the name /ik is already defined in meble.sk
[15:07:36 ERROR]: A command with the name /ik is already defined in meble.sk
[15:07:36 ERROR]: A command with the name /ik is already defined in meble.sk
[15:07:36 ERROR]: A command with the name /ik is already defined in meble.sk
[15:07:36 ERROR]: A command with the name /ik is already defined in meble.sk

@LordzikMkoesik Koniec błędów na to wskazuje, że musi być to zrobione inaczej i masz rację.

Edytowane przez XANT3R
Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155230
Udostępnij na innych stronach

  • 0

@LloydPL 

[15:16:14 WARN]: There are no aliases defined for the following ids: 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 438, 441, 453
[15:16:14 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (meble.sk, line 3: if arg 1 is "sofa":')
[15:16:14 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 4: if player's balance is less than 1000:')
[15:16:14 ERROR]: indentation error: expected 8 spaces, but found 16 spaces (meble.sk, line 5: send "&cNie masz tyle pieniedzy!"')
[15:16:14 ERROR]: indentation error: expected 8 spaces, but found 12 spaces (meble.sk, line 6: else:')
[15:16:14 ERROR]: indentation error: expected 8 spaces, but found 16 spaces (meble.sk, line 7: remove 1000 from player's balance')
[15:16:14 ERROR]: indentation error: expected 8 spaces, but found 16 spaces (meble.sk, line 8: execute console command "furniture give sofa %player% 1"')
[15:16:14 ERROR]: indentation error: expected 12 spaces, but found '________->' [-> = tab, _ = space, ? = other whitespace] (meble.sk, line 10: if player's balance is less than 1000:')
[15:16:14 ERROR]: indentation error: expected 12 spaces, but found '___________->_' [-> = tab, _ = space, ? = other whitespace] (meble.sk, line 11: send "&cNie masz tyle pieniedzy!"')
[15:16:14 ERROR]: indentation error: expected 16 spaces, but found '_________->___' [-> = tab, _ = space, ? = other whitespace] (meble.sk, line 13: remove 1000 from player's balance')
[15:16:14 ERROR]: indentation error: expected 16 spaces, but found '___________->_' [-> = tab, _ = space, ? = other whitespace] (meble.sk, line 14: execute console command "furniture give guillotine %player% 1"')
[15:16:14 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. (meble.sk, line 12: else:')
[15:16:14 ERROR]: indentation error: expected 12 spaces, but found '________->' [-> = tab, _ = space, ? = other whitespace] (meble.sk, line 16: if player's balance is less than 50:')
[15:16:14 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (meble.sk, line 17: send "&cNie masz tyle pieniedzy!"')
[15:16:14 ERROR]: indentation error: expected 12 spaces, but found '________->' [-> = tab, _ = space, ? = other whitespace] (meble.sk, line 22: if player's balance is less than 50:')
[15:16:14 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (meble.sk, line 23: send "&cNie masz tyle pieniedzy!"')
[15:16:14 ERROR]: indentation error: expected 12 spaces, but found '________->' [-> = tab, _ = space, ? = other whitespace] (meble.sk, line 28: if player's balance is less than 50:')
[15:16:14 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (meble.sk, line 29: send "&cNie masz tyle pieniedzy!"')
[15:16:14 ERROR]: indentation error: expected 12 spaces, but found '________->' [-> = tab, _ = space, ? = other whitespace] (meble.sk, line 34: if  player's balance is less than 50:')
[15:16:14 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (meble.sk, line 35: send "&cNie masz tyle pieniedzy!"')
[15:16:14 ERROR]: indentation error: expected 12 spaces, but found '________->' [-> = tab, _ = space, ? = other whitespace] (meble.sk, line 40: if player's balance is less than 50:')
[15:16:14 ERROR]: indentation error: expected 12 spaces, but found 16 spaces (meble.sk, line 41: send "&cNie masz tyle pieniedzy!"')
[15:16:14 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 12: else:')
[15:16:14 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 18: else:')
[15:16:14 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 24: else:')
[15:16:14 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 30: else:')
[15:16:14 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 36: else:')
[15:16:14 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (meble.sk, line 42: else:')

 

Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155235
Udostępnij na innych stronach

  • 0

@LloydPL No i ostatnie 2 błędy jeszcze [15:25:42 ERROR]: indentation error: expected 4 tabs, but found 16 spaces (meble.sk, line 17: send "&cNie masz tyle pieniedzy!"')
[15:25:42 ERROR]: indentation error: expected 4 tabs, but found 12 spaces (meble.sk, line 18: else:')

Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155241
Udostępnij na innych stronach

  • 0
7 minut temu, XANT3R napisał:

@LloydPL No i ostatnie 2 błędy jeszcze [15:25:42 ERROR]: indentation error: expected 4 tabs, but found 16 spaces (meble.sk, line 17: send "&cNie masz tyle pieniedzy!"')
[15:25:42 ERROR]: indentation error: expected 4 tabs, but found 12 spaces (meble.sk, line 18: else:')

Czy ty umiesz czytac? Masz skrypt zle wytabowany.

Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155246
Udostępnij na innych stronach

  • 0

@KrejzolekPRO Nie każdy musi ogarniać skripta, co nie oznacza że możecie się obrażać na laika, bo wymaga poprawek dla was czegoś co jest logicznie do wyczytania. Ja prowadzę serwer, ale nigdy nie robiłem do niego skryptów, nigdy nie zagłębiałem się w ten plugin.

@LloydPL Był jeszcze jeden zły tab, ale już został ogarnięty przeze mnie.

@LordzikMkoesik Dzięki.

Dzięki wszystkim za pomoc, temat do zamknięcia! Wszystko już działa! :)

Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155247
Udostępnij na innych stronach

  • 0
32 minuty temu, XANT3R napisał:

@KrejzolekPRO Nie każdy musi ogarniać skripta, co nie oznacza że możecie się obrażać na laika, bo wymaga poprawek dla was czegoś co jest logicznie do wyczytania. Ja prowadzę serwer, ale nigdy nie robiłem do niego skryptów, nigdy nie zagłębiałem się w ten plugin.

@LloydPL Był jeszcze jeden zły tab, ale już został ogarnięty przeze mnie.

@LordzikMkoesik Dzięki.

Dzięki wszystkim za pomoc, temat do zamknięcia! Wszystko już działa! :)

Czyli jednocześnie mówisz, że nie umiesz wkleić tekstu do translatora?

Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155251
Udostępnij na innych stronach

  • 0
13 minut temu, KrejzolekPRO napisał:

Czyli jednocześnie mówisz, że nie umiesz wkleić tekstu do translatora?

A czy tylko mi ma się przydać ten skrypt czy też komuś? Więc lepiej by był poprawny w tym temacie i ktoś inny mając ten plugin na meble też skorzysta. Jak wklejałem jedną linijkę na podmiankę to nie było róźnicy w wyswietlaniu taba w notepad++, wyświetlało się identycznie, ale spowodowało, że skrypt działał.  Temat wyczerpany i do zamknięcia.

Edytowane przez XANT3R
Odnośnik do komentarza
https://skript.pl/temat/22803-prosty-skrypt-do-zabierania-pieni%C4%99dzy-i-wykonywania-kolejnej-komendy/#findComment-155253
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...