Skocz do zawartości
  • 0

YML


Assasin98980

Pytanie

			if arg 1 is "yml":
				send "&aTworzenie pliku wykonawczego. Prosze czekac..."
				set yaml value "options.speed.min" from file "./plugins/GameLib/ChickenTaxi.yml" to 3
				set yaml value "options.speed.normal" from file "./plugins/GameLib/ChickenTaxi.yml" to 5
				set yaml value "options.speed.max" from file "./plugins/GameLib/ChickenTaxi.yml" to 10
				set yaml value "options.speed.min.speed" from file "./plugins/GameLib/ChickenTaxi.yml" to 3
				set yaml value "options.speed.normal.speed" from file "./plugins/GameLib/ChickenTaxi.yml" to 5
				set yaml value "options.speed.max.speed" from file "./plugins/GameLib/ChickenTaxi.yml" to 10
				set yaml value "options.speed.min.value" from file "./plugins/GameLib/ChickenTaxi.yml" to 100
				set yaml value "options.speed.normal.value" from file "./plugins/GameLib/ChickenTaxi.yml" to 150
				set yaml value "options.speed.max.value" from file "./plugins/GameLib/ChickenTaxi.yml" to 200
			if arg 1 is "reload":
				set {ct.speed.min.sp} to yaml value "options.speed.min.speed" from file "./plugins./GameLib/ChickenTaxi.yml"
				set {ct.speed.normal.sp} to yaml value "options.speed.normal.speed" from file "./plugins./GameLib/ChickenTaxi.yml"
				set {ct.speed.max.sp} to yaml value "options.speed.max.speed" from file "./plugins./GameLib/ChickenTaxi.yml"
				set {ct.speed.min.val} to yaml value "options.speed.min.value" from file "./plugins./GameLib/ChickenTaxi.yml"
				set {ct.speed.normal.val} to yaml value "options.speed.normal.value" from file "./plugins./GameLib/ChickenTaxi.yml"
				set {ct.speed.max.val} to yaml value "options.speed.max.value" from file "./plugins./GameLib/ChickenTaxi.yml"

Witam! Problem jest taki, że skrypt nie odczytuje zmiennych z pliku yml. Jak to naprawić? (Posiadam SkQuery, skRayFall, Skript). Dziękuje za pomoc!

Odnośnik do komentarza
https://skript.pl/temat/36734-yml/
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

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ę...