J'ai fais un bout de code mais j'ai eu 4 erreurs :3
Le bout de code:
on join:
if player has permission "modo.tab":
set player tab name to "&6[Modérateur] %player%"
if player has permission "fonda.tab":
set player tab name to "&8[&6&lFondateur&r&8] %player%"
if player has permission "premium.tab":
set player tab name to "&8[&ePremium&r&8] %player%"
if player has permission "elu.tab":
set player tab name to "&8[&5Elu ✪&r&8] %player%"
if player has permission "admin.tab":
set player tab name to "&8[&4&lAdmin&r&8] %player%"
Et l'erreur:
Erreur:
[19:03:11 ERROR]: indentation error: expected 2 tabs, but found 7 spaces (test.sk, line 5: set player tab name to "&8[&6&lFondateur&r&8] %player%"')
[19:03:11 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (test.sk, line 4: if player has permission "fonda.tab":')
[19:03:11 ERROR]: indentation error: expected 2 tabs, but found 8 spaces (test.sk, line 7: set player tab name to "&8[&ePremium&r&8] %player%"')
[19:03:11 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (test.sk, line 6: if player has permission "premium.tab":')
[19:03:11 ERROR]: indentation error: expected 2 tabs, but found 8 spaces (test.sk, line 9: set player tab name to "&8[&5Elu ?&r&8] %player%"')
[19:03:11 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (test.sk, line 8: if player has permission "elu.tab":')
[19:03:11 ERROR]: indentation error: expected 2 tabs, but found 8 spaces (test.sk, line 11: set player tab name to "&8[&4&lAdmin&r&8] %player%"')
[19:03:11 INFO]: [skript] Encountered 4 errors while reloading test.sk!
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.
Question
Inerska
Bonjour ou bonsoir :p les skripteurs,
J'ai fais un bout de code mais j'ai eu 4 erreurs :3
Le bout de code:
Et l'erreur:
Si vous pouviez m'aider :p , Merci d'avance :)
PS: Je suis débutant
3 réponses à cette question
Messages recommandés