Skocz do zawartości
  • 0

Z komendą #2


psychokillerv1

Pytanie

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Spróbuj:

	if arg 1 is "dodaj":		if arg 2 is set:			if arg 3 is not set:				add arg 2 to {mapy::*}				send "&a&lDodales mape %arg 2%" to player				stop	if arg 1 is "usun":		if arg 2 is set:			if arg 3 is not set:				remove arg 2 from {mapy::*}				send "&a&lUsunales mape %arg 2%" to player				stop	if arg 1 is "ustawspawn":		if arg 2 is "ameryka":			if arg 3 is set:				if {mapy::*} contains arg 3:					set {mapy::%arg 3%.ameryka} to location of player					send "&a&lDodales spawn ameryki dla mapy %arg 3%" to player					stop		if arg 2 is "rosja":			if arg 3 is set:				if {mapy::*} contains arg 3:					set {mapy::%arg 3%.rosja} to location of player					send "&a&lDodales spawn rosji dla mapy %arg 3%" to player

Jak nie.. to są jakieś błędy? 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Spróbuj:

	if arg 1 is "dodaj":		if arg 2 is set:			if arg 3 is not set:				add arg 2 to {mapy::*}				send "&a&lDodales mape %arg 2%" to player				stop	if arg 1 is "usun":		if arg 2 is set:			if arg 3 is not set:				remove arg 2 from {mapy::*}				send "&a&lUsunales mape %arg 2%" to player				stop	if arg 1 is "ustawspawn":		if arg 2 is "ameryka":			if arg 3 is set:				if {mapy::*} contains arg 3:					set {mapy::%arg 3%.ameryka} to location of player					send "&a&lDodales spawn ameryki dla mapy %arg 3%" to player					stop		if arg 2 is "rosja":			if arg 3 is set:				if {mapy::*} contains arg 3:					set {mapy::%arg 3%.rosja} to location of player					send "&a&lDodales spawn rosji dla mapy %arg 3%" to player

Jak nie.. to są jakieś błędy? 

Dzięki, zdążyłem naprawić sam, sprawdzę, jeśli zadziała to like :)

EDIT: Działa :D

Edytowane przez psychokillerv1
Odnośnik do komentarza
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ę...