Aller au contenu
RazMaker

résolu ✔ problème d'espaces

Messages recommandés

Version de Minecraft : 1.12.2
Version de Skript : 2.31c

Addons utilisés: skRayFall+v1.9.12,SkQuery-4.1.0,Skellett-Legacy,skUtilities.v0.9.2,

Type du skript : Shop

Description du script :

Bonjour j'ai un problème avec mon skript de shop pour grades en gros j'ai voulue ajouter une ligne pour enlever l'argent au joueur et la une grosse erreur s'affiche cela me dit qui y a 8 espaces trouver mais que il faut 2 tabs du-coup je replace par 2 tabs et rien ne change l erreur reste la et il y en a même 4 autres .

Capture.JPG

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité

Tu as mis des espaces au lieu de tabs, tout simplement ^^

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
à l’instant, RazMaker a dit :

Non justement j'ai remplacer par des tabs et le problème est toujours la .

au pire envoie ton code

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
il y a 1 minute, RazMaker a dit :

Voici le skript 


command /Grades:
	trigger:
		open chest with 3 rows named "&bGrades" to player
		wait 1 ticks
		format slot 0 of player with gray stained glass pane named " " to be unstealable
		format slot 1 of player with gray stained glass pane named " " to be unstealable
		format slot 2 of player with light blue stained glass pane named " " to be unstealable
		format slot 3 of player with light blue stained glass pane named " " to be unstealable
 #Grades info
		set {_info} to glowing item frame named "&c&lGrades Info"
		set lore of {_info} to "&2Clique droit sur les plastron pour acheter un grade."
		format slot 4 of player with {_info} named "&c&lGrades Info" to be unstealable
#Les vitres
		format slot 5 of player with light blue stained glass pane named " " to be unstealable
		format slot 6 of player with light blue stained glass pane named " " to be unstealable
		format slot 7 of player with gray stained glass pane named " " to be unstealable
		format slot 8 of player with gray stained glass pane named " " to be unstealable
		format slot 9 of player with gray stained glass pane named " " to be unstealable
#Grade Citoyen
		set {_grade} to glowing leather tunic named "&b&lCitoyen"
		set lore of {_grade} to "&eCoute 25 000€"
		format slot 10 of player with {_grade} to run [make player execute command "/verifcitoyen"]
#vitre entre grades
		format slot 11 of player with light blue stained glass pane named " " to be unstealable
#Grade Noble
		set {_grade1} to glowing glowing iron chestplate named "&b&lNoble"
		set lore of {_grade1} to "&eCoute 50 000€"
		format slot 12 of player with {_grade1} to run [make player execute command "/verifnoble"]
#vitre entre grades
		format slot 13 of player with light blue stained glass pane named " " to be unstealable
#Grade Aristocrate
		set {_grade2} to glowing golden chestplate named "&b&lAristocrate"
		set lore of {_grade2} to "&eCoute 100 000€"
		format slot 14 of player with {_grade2} to run [make player execute command "/verifaristocrate"]
#vitre entre grades
		format slot 15 of player with light blue stained glass pane named " " to be unstealable
#Grade Franc-maçon
		set {_grade3} to glowing diamond chestplate named "&b&lFranc-maçon"
		set lore of {_grade3} to "&eCoute 500 000€"
		format slot 16 of player with {_grade3} to run [make player execute command "/veriffrancmacon"]
#vitres
		format slot 17 of player with gray stained glass pane named " " to be unstealable
		format slot 18 of player with gray stained glass pane named " " to be unstealable
		format slot 19 of player with gray stained glass pane named " " to be unstealable
		format slot 20 of player with light blue stained glass pane named " " to be unstealable
		format slot 21 of player with light blue stained glass pane named " " to be unstealable
#Fermer le menu
		format slot 22 of player with glowing barrier named "&c&lFermer le menu" to close
#vitres
		format slot 23 of player with light blue stained glass pane named " " to be unstealable
		format slot 24 of player with light blue stained glass pane named " " to be unstealable
		format slot 25 of player with gray stained glass pane named " " to be unstealable
		format slot 26 of player with gray stained glass pane named " " to be unstealable
		
#Achat du grade citoyen

command /buycitoyen:
	trigger:
        if player's balance is bigger than 24999.999:
            make server execute command "lp user %player% parent add citoyen"
            broadcast "&aBravo à %player% d'avoir acheté le grade &f[&aCitoyen&f]."
		else:
			send "&4Tu n'as pas assez d'argent"
			
#Achat du grade noble
			
command /buynoble:
	trigger:
		if player's balance is bigger than 49999.999:
            make console execute command "eco take %player% 50000"
			make server execute command "lp user %player% parent add noble"
			broadcast "&aBravo à %player% d'avoir acheté le grade &f[&2Noble&f]."
		else:
			send "&4Tu n'as pas assez d'argent"
			
#Achat du grade aristocrate
			
command /buyaristocrate:
	trigger:
		if player's balance is bigger than 99999.999:
			make server execute command "lp user %player% parent add aristocrate"
			broadcast "&aBravo à %player% d'avoir acheté le grade &f[&eAristocrate&f]."
		else:
			send "&4Tu n'as pas assez d'argent"
			
#Achat du grade franc-macon
			
command /buyfranmacon:
	trigger:
		if player's balance is bigger than 499999.999:
			make server execute command "lp user %player% parent add francmacon"
			broadcast "&aBravo à %player% d'avoir acheté le grade &f[&cFran-maçon&f]."
		else:
			send "&4Tu n'as pas assez d'argent"
			
#Gui pour ne pas acher instant.
			
command /verifcitoyen:
	trigger:
		open chest with 3 rows named "&f[&aCitoyen&f]" to player
		wait 1 tick
		format slot 0 of player with gray stained glass pane named " " to be unstealable
		format slot 1 of player with gray stained glass pane named " " to be unstealable
		format slot 2 of player with light blue stained glass pane named " " to be unstealable
		format slot 3 of player with light blue stained glass pane named " " to be unstealable
		format slot 4 of player with light blue stained glass pane named " " to be unstealable
		format slot 5 of player with light blue stained glass pane named " " to be unstealable
		format slot 6 of player with light blue stained glass pane named " " to be unstealable
		format slot 7 of player with gray stained glass pane named " " to be unstealable
		format slot 8 of player with gray stained glass pane named " " to be unstealable
		format slot 9 of player with gray stained glass pane named " " to be unstealable
		format slot 10 of player with light blue stained glass pane named " " to be unstealable
#Laine rouge ,retour au /grade		
		format slot 11 of player with red wool named "&4Retour a la liste des grades. " to run [make player execute command "/grades"]
#vitres entres laine rouge et lingo d'or
		format slot 12 of player with light blue stained glass pane named " " to be unstealable
#lingot d'or pour voir le prix du grade
		format slot 13 of player with gold ingot named "&eCoute 25 000€" to be unstealable
#Vitre entre lingot d'or et laine verte pour acheter le grade
		format slot 14 of player with light blue stained glass pane named " " to be unstealable
#Laine verte , achat du grade
		format slot 15 of player with green wool named "Acheter le grade &f[&aCitoyen&f]" to run [make player execute command "/buycitoyen"]
#Vitres
		format slot 16 of player with light blue stained glass pane named " " to be unstealable
		format slot 17 of player with gray stained glass pane named " " to be unstealable
		format slot 18 of player with gray stained glass pane named " " to be unstealable
		format slot 19 of player with gray stained glass pane named " " to be unstealable
		format slot 20 of player with light blue stained glass pane named " " to be unstealable
		format slot 21 of player with light blue stained glass pane named " " to be unstealable
		format slot 22 of player with light blue stained glass pane named " " to be unstealable
		format slot 23 of player with light blue stained glass pane named " " to be unstealable
		format slot 24 of player with light blue stained glass pane named " " to be unstealable
		format slot 25 of player with gray stained glass pane named " " to be unstealable
		format slot 26 of player with gray stained glass pane named " " to be unstealable
		
command /verifnoble:
	trigger:
		open chest with 3 rows named "&f[&2Noble&f]" to player
		wait 1 tick
		format slot 0 of player with gray stained glass pane named " " to be unstealable
		format slot 1 of player with gray stained glass pane named " " to be unstealable
		format slot 2 of player with light blue stained glass pane named " " to be unstealable
		format slot 3 of player with light blue stained glass pane named " " to be unstealable
		format slot 4 of player with light blue stained glass pane named " " to be unstealable
		format slot 5 of player with light blue stained glass pane named " " to be unstealable
		format slot 6 of player with light blue stained glass pane named " " to be unstealable
		format slot 7 of player with gray stained glass pane named " " to be unstealable
		format slot 8 of player with gray stained glass pane named " " to be unstealable
		format slot 9 of player with gray stained glass pane named " " to be unstealable
		format slot 10 of player with light blue stained glass pane named " " to be unstealable
#Laine rouge ,retour au /grade		
		format slot 11 of player with red wool named "&4Retour a la liste des grades. " to run [make player execute command "/grades"]
#vitres entres laine rouge et lingo d'or
		format slot 12 of player with light blue stained glass pane named " " to be unstealable
#lingot d'or pour voir le prix du grade
		format slot 13 of player with gold ingot named "&eCoute 50 000€" to be unstealable
#Vitre entre lingot d'or et laine verte pour acheter le grade
		format slot 14 of player with light blue stained glass pane named " " to be unstealable
#Laine verte , achat du grade
		format slot 15 of player with green wool named "Acheter le grade &f[&2Noble&f]" to run [make player execute command "/buynoble"]
#Vitres
		format slot 16 of player with light blue stained glass pane named " " to be unstealable
		format slot 17 of player with gray stained glass pane named " " to be unstealable
		format slot 18 of player with gray stained glass pane named " " to be unstealable
		format slot 19 of player with gray stained glass pane named " " to be unstealable
		format slot 20 of player with light blue stained glass pane named " " to be unstealable
		format slot 21 of player with light blue stained glass pane named " " to be unstealable
		format slot 22 of player with light blue stained glass pane named " " to be unstealable
		format slot 23 of player with light blue stained glass pane named " " to be unstealable
		format slot 24 of player with light blue stained glass pane named " " to be unstealable
		format slot 25 of player with gray stained glass pane named " " to be unstealable
		format slot 26 of player with gray stained glass pane named " " to be unstealable
		
command /verifaristocrate:
	trigger:
		open chest with 3 rows named "&f[&eAristocrate&f]" to player
		wait 1 tick
		format slot 0 of player with gray stained glass pane named " " to be unstealable
		format slot 1 of player with gray stained glass pane named " " to be unstealable
		format slot 2 of player with light blue stained glass pane named " " to be unstealable
		format slot 3 of player with light blue stained glass pane named " " to be unstealable
		format slot 4 of player with light blue stained glass pane named " " to be unstealable
		format slot 5 of player with light blue stained glass pane named " " to be unstealable
		format slot 6 of player with light blue stained glass pane named " " to be unstealable
		format slot 7 of player with gray stained glass pane named " " to be unstealable
		format slot 8 of player with gray stained glass pane named " " to be unstealable
		format slot 9 of player with gray stained glass pane named " " to be unstealable
		format slot 10 of player with light blue stained glass pane named " " to be unstealable
#Laine rouge ,retour au /grade		
		format slot 11 of player with red wool named "&4Retour a la liste des grades. " to run [make player execute command "/grades"]
#vitres entres laine rouge et lingo d'or
		format slot 12 of player with light blue stained glass pane named " " to be unstealable
#lingot d'or pour voir le prix du grade
		format slot 13 of player with gold ingot named "&eCoute 100 000€" to be unstealable
#Vitre entre lingot d'or et laine verte pour acheter le grade
		format slot 14 of player with light blue stained glass pane named " " to be unstealable
#Laine verte , achat du grade
		format slot 15 of player with green wool named "Acheter le grade &f[&eAristocrate&f]" to run [make player execute command "/buyaristocrate"]
#Vitres
		format slot 16 of player with light blue stained glass pane named " " to be unstealable
		format slot 17 of player with gray stained glass pane named " " to be unstealable
		format slot 18 of player with gray stained glass pane named " " to be unstealable
		format slot 19 of player with gray stained glass pane named " " to be unstealable
		format slot 20 of player with light blue stained glass pane named " " to be unstealable
		format slot 21 of player with light blue stained glass pane named " " to be unstealable
		format slot 22 of player with light blue stained glass pane named " " to be unstealable
		format slot 23 of player with light blue stained glass pane named " " to be unstealable
		format slot 24 of player with light blue stained glass pane named " " to be unstealable
		format slot 25 of player with gray stained glass pane named " " to be unstealable
		format slot 26 of player with gray stained glass pane named " " to be unstealable
		
command /veriffrancmacon:
	trigger:
		open chest with 3 rows named "&f[&cFran-maçon&f]" to player
		wait 1 tick
		format slot 0 of player with gray stained glass pane named " " to be unstealable
		format slot 1 of player with gray stained glass pane named " " to be unstealable
		format slot 2 of player with light blue stained glass pane named " " to be unstealable
		format slot 3 of player with light blue stained glass pane named " " to be unstealable
		format slot 4 of player with light blue stained glass pane named " " to be unstealable
		format slot 5 of player with light blue stained glass pane named " " to be unstealable
		format slot 6 of player with light blue stained glass pane named " " to be unstealable
		format slot 7 of player with gray stained glass pane named " " to be unstealable
		format slot 8 of player with gray stained glass pane named " " to be unstealable
		format slot 9 of player with gray stained glass pane named " " to be unstealable
		format slot 10 of player with light blue stained glass pane named " " to be unstealable
#Laine rouge ,retour au /grade		
		format slot 11 of player with red wool named "&4Retour a la liste des grades. " to run [make player execute command "/grades"]
#vitres entres laine rouge et lingo d'or
		format slot 12 of player with light blue stained glass pane named " " to be unstealable
#lingot d'or pour voir le prix du grade
		format slot 13 of player with gold ingot named "&eCoute 500 000€" to be unstealable
#Vitre entre lingot d'or et laine verte pour acheter le grade
		format slot 14 of player with light blue stained glass pane named " " to be unstealable
#Laine verte , achat du grade
		format slot 15 of player with green wool named "Acheter le grade &f[&cFran-maçon&f]" to run [make player execute command "/buyfranmacon"]
#Vitres
		format slot 16 of player with light blue stained glass pane named " " to be unstealable
		format slot 17 of player with gray stained glass pane named " " to be unstealable
		format slot 18 of player with gray stained glass pane named " " to be unstealable
		format slot 19 of player with gray stained glass pane named " " to be unstealable
		format slot 20 of player with light blue stained glass pane named " " to be unstealable
		format slot 21 of player with light blue stained glass pane named " " to be unstealable
		format slot 22 of player with light blue stained glass pane named " " to be unstealable
		format slot 23 of player with light blue stained glass pane named " " to be unstealable
		format slot 24 of player with light blue stained glass pane named " " to be unstealable
		format slot 25 of player with gray stained glass pane named " " to be unstealable
		format slot 26 of player with gray stained glass pane named " " to be unstealable

 

 

https://pastebin.com/cxaYS5aE


Voilà, tu copies colle et c'est fini, tu avais bel et bien mis des espaces au lieu de tabs
 

sur le screen
_____ = tabs
°°°°°° = espaces

Il y avait les deux de mélangés

Capture.PNG

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.