Aller au contenu
Apox

résolu ✔ Erreur de Tab

Messages recommandés

Version de Minecraft : 1.12.2
Version de Skript : 2.4.4

Type du skript : Erreur sur les tabs 

Description du script :

Bonjour je n'arrive pas a régler les erreurs de tab sur mon script  je ne trouve pas ça logique 😕 :

 

> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 4 spaces (autres.sk, line 11: set quit message to "&3+ %player%"')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 1 tab (autres.sk, line 92: if player is {manager}:')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 93: clear player's inventory')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 94: remove player from {manager::*}')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 95: make console execute command "/manuadd %player% default"')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 96: make console execute command "/spawn %player%"')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 1 tab (autres.sk, line 97: if player is {medecin}:')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 98: clear player's inventory')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 99: remove player from {medecin::*}')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 100: make console execute command "/manuadd %player% default"')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 101: make console execute command "/spawn %player%"')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 1 tab (autres.sk, line 102: if player is {mirador}:')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 103: clear player's inventory')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 104: remove player from {mirador::*}')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 105: make console execute command "/manuadd %player% default"')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 106: make console execute command "/spawn %player%"')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 1 tab (autres.sk, line 107: if player is {chefsurveillant}:')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 108: clear player's inventory')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 109: remove player from {chefsurveillant::*}')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 110: make console execute command "/manuadd %player% default"')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 111: make console execute command "/spawn %player%"')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 1 tab (autres.sk, line 112: if player is {surveillant}:')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 113: clear player's inventory')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 114: remove player from {surveillant::*}')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 115: make console execute command "/manuadd %player% default"')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 116: make console execute command "/spawn %player%"')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 1 tab (autres.sk, line 117: if player is {prisonnier}:')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 118: remove player from {prisonnier::*}')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 119: clear player's inventory')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 120: make console execute command "/manuadd %player% default"')
> [00:39:52 ERROR]: indentation error: expected 0 tabs, but found 2 tabs (autres.sk, line 121: make console execute command "/spawn %player%"')
> [00:39:52 ERROR]: invalid line - all code has to be put into triggers (autres.sk, line 10: on join')
> [00:39:52 ERROR]: can't understand this event: 'on dead of player' (autres.sk, line 76: on dead of player:')
> [00:39:52 ERROR]: invalid line - all code has to be put into triggers (autres.sk, line 91: on dead')

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité

C'est très simple, les tabs sont après :Genre

 

on join: #Là j'ai mis : c'est un événement
	broadcast "%player% a rejoint !" #J'ai mis 1 tab, car au dessus j'ai mis :, ça marche également avec les conditions, exemple >

on join:
	if player is "KneaXy": #Condition, donc :
		broadcast "KneaXy a rejoint !" #1 tab

C'est vraiment simple à comprendre, va sur YouTube et tape "Skript-MC", il ont fait quelques tutoriaux 🙂

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Il y a 2 heures, Apox a dit :

Dac Merci et enfaite je viens comprendre j'avais oublié les deux points ( : ) 

Erreur de débutant XD mais merci bien 

Pas de problème bonne journée 🙂 

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.