every 1 tick:
loop all players:
if {RangaBlock.%loop-player%} is greater or equal to 1000:
set {Ranga.%loop-player%} to Gracz
if {RangaBlock.%loop-player%} is greater or equal to 3000:
set {Ranga.%loop-player%} to Staly_Gracz
if {RangaBlock.%loop-player%} is greater or equal to 5000:
set {Ranga.%loop-player%} to Budowniczy
if {RangaBlock.%loop-player%} is greater or equal to 10000:
set {Ranga.%loop-player%} to Pomysłowy
if {RangaBlock.%loop-player%} is greater or equal to 20000:
set {Ranga.%loop-player%} to Kreatywny
if {RangaBlock.%loop-player%} is greater or equal to 25000:
set {Ranga.%loop-player%} to KlockoStawiacz
if {RangaBlock.%loop-player%} is greater or equal to 30000:
set {Ranga.%loop-player%} to Dobry_budowniczy
if {RangaBlock.%loop-player%} is greater or equal to 50000:
set {Ranga.%loop-player%} to Epicki_Budowniczy
if {RangaBlock.%loop-player%} is greater or equal to 75000:
set {Ranga.%loop-player%} to Wybitny_Budowniczy
if {RangaBlock.%loop-player%} is greater or equal to 200000:
set {Ranga.%loop-player%} to Legenda
else:
set {Ranga.%loop-player%} to Nowicjusz
Czemu ten kod nie działa? jak coś same variables mam zrobione, tylko jest problem z tym, co ma być ustawione (Gracz, Stały_Gracz itd.)
kod błędu.
Spoiler
[14:11:54 ERROR]: 'Gracz' is not an entity type (dzialka.sk, line 189: set {Ranga.%loop-player%} to Gracz')
[14:11:54 ERROR]: 'Staly_Gracz' is not an entity type (dzialka.sk, line 191: set {Ranga.%loop-player%} to Staly_Gracz')
[14:11:54 ERROR]: 'Budowniczy' is not an entity type (dzialka.sk, line 193: set {Ranga.%loop-player%} to Budowniczy')
[14:11:54 ERROR]: 'Pomys│owy' is not an entity type (dzialka.sk, line 195: set {Ranga.%loop-player%} to Pomys│owy')
[14:11:54 ERROR]: 'Kreatywny' is not an entity type (dzialka.sk, line 197: set {Ranga.%loop-player%} to Kreatywny')
[14:11:54 ERROR]: 'KlockoStawiacz' is not an entity type (dzialka.sk, line 199: set {Ranga.%loop-player%} to KlockoStawiacz')
[14:11:54 ERROR]: 'Dobry_budowniczy' is not an entity type (dzialka.sk, line 201: set {Ranga.%loop-player%} to Dobry_budowniczy')
[14:11:54 ERROR]: 'Epicki_Budowniczy' is not an entity type (dzialka.sk, line 203: set {Ranga.%loop-player%} to Epicki_Budowniczy')
[14:11:54 ERROR]: 'Wybitny_Budowniczy' is not an entity type (dzialka.sk, line 205: set {Ranga.%loop-player%} to Wybitny_Budowniczy')
[14:11:54 ERROR]: 'Legenda' is not an entity type (dzialka.sk, line 207: set {Ranga.%loop-player%} to Legenda')
[14:11:54 ERROR]: 'Nowicjusz' is not an entity type (dzialka.sk, line 209: set {Ranga.%loop-player%} to Nowicjusz')
logi są z konsoli serwera, posiadam SkQuery i WildSkript i SkriptPlus
Pytanie
heyn 46
every 1 tick: loop all players: if {RangaBlock.%loop-player%} is greater or equal to 1000: set {Ranga.%loop-player%} to Gracz if {RangaBlock.%loop-player%} is greater or equal to 3000: set {Ranga.%loop-player%} to Staly_Gracz if {RangaBlock.%loop-player%} is greater or equal to 5000: set {Ranga.%loop-player%} to Budowniczy if {RangaBlock.%loop-player%} is greater or equal to 10000: set {Ranga.%loop-player%} to Pomysłowy if {RangaBlock.%loop-player%} is greater or equal to 20000: set {Ranga.%loop-player%} to Kreatywny if {RangaBlock.%loop-player%} is greater or equal to 25000: set {Ranga.%loop-player%} to KlockoStawiacz if {RangaBlock.%loop-player%} is greater or equal to 30000: set {Ranga.%loop-player%} to Dobry_budowniczy if {RangaBlock.%loop-player%} is greater or equal to 50000: set {Ranga.%loop-player%} to Epicki_Budowniczy if {RangaBlock.%loop-player%} is greater or equal to 75000: set {Ranga.%loop-player%} to Wybitny_Budowniczy if {RangaBlock.%loop-player%} is greater or equal to 200000: set {Ranga.%loop-player%} to Legenda else: set {Ranga.%loop-player%} to Nowicjusz
Czemu ten kod nie działa? jak coś same variables mam zrobione, tylko jest problem z tym, co ma być ustawione (Gracz, Stały_Gracz itd.)
kod błędu.
[14:11:54 ERROR]: 'Gracz' is not an entity type (dzialka.sk, line 189: set {Ranga.%loop-player%} to Gracz')
[14:11:54 ERROR]: 'Staly_Gracz' is not an entity type (dzialka.sk, line 191: set {Ranga.%loop-player%} to Staly_Gracz')
[14:11:54 ERROR]: 'Budowniczy' is not an entity type (dzialka.sk, line 193: set {Ranga.%loop-player%} to Budowniczy')
[14:11:54 ERROR]: 'Pomys│owy' is not an entity type (dzialka.sk, line 195: set {Ranga.%loop-player%} to Pomys│owy')
[14:11:54 ERROR]: 'Kreatywny' is not an entity type (dzialka.sk, line 197: set {Ranga.%loop-player%} to Kreatywny')
[14:11:54 ERROR]: 'KlockoStawiacz' is not an entity type (dzialka.sk, line 199: set {Ranga.%loop-player%} to KlockoStawiacz')
[14:11:54 ERROR]: 'Dobry_budowniczy' is not an entity type (dzialka.sk, line 201: set {Ranga.%loop-player%} to Dobry_budowniczy')
[14:11:54 ERROR]: 'Epicki_Budowniczy' is not an entity type (dzialka.sk, line 203: set {Ranga.%loop-player%} to Epicki_Budowniczy')
[14:11:54 ERROR]: 'Wybitny_Budowniczy' is not an entity type (dzialka.sk, line 205: set {Ranga.%loop-player%} to Wybitny_Budowniczy')
[14:11:54 ERROR]: 'Legenda' is not an entity type (dzialka.sk, line 207: set {Ranga.%loop-player%} to Legenda')
[14:11:54 ERROR]: 'Nowicjusz' is not an entity type (dzialka.sk, line 209: set {Ranga.%loop-player%} to Nowicjusz')
logi są z konsoli serwera, posiadam SkQuery i WildSkript i SkriptPlus
Odnośnik do komentarza
Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi