Rechercher dans la communauté
Affichage des résultats pour les étiquettes 'error'.
2 résultats trouvés
-
Version de Minecraft : 1.8.8 Version de Skript : avant dernière version Addons utilisés: SkRayFall, SkQuery Type du skript : Ecrivez ici le type de skript souhaité Je n'en peux plus. J'ai travaillé super longtemps sur des grades, tout marchait et quand j'ai voulu reload le skript car j'avais ajouté un grade, plus rien ne fonctionnait. C'est des erreurs de tabulations mais j'ai tout fait comme il fallait. AIDEZ-MOI SVP (voici les erreurs et le skript): command /prefixe [<offline player>] [<text>]: permission: prefixe.tab permission message: &cTu n'as pas la permission !" trigger: if arg 1 is set: if arg 2 is "clear": clear {grade.%arg 1's uuid%} delete {grade.%arg 1's uuid%} if arg 2 is "Guerrier": set {grade.%arg 1's uuid%} to "&7Guerrier" send "&e%arg 1% &6est désormais &7Guerrier" to player send "&6Vous êtes désormais &7Guerrier" to arg 1 if arg 2 is "Modérateur" or "Modo": set {grade.%arg 1's uuid%} to "&eModérateur" send "&e%arg 1% &6est désormais &eModérateur" to player send "&6Vous êtes désormais &eModérateur" to arg 1 if arg 2 is "YouTubeur" or "YT": set {grade.%arg 1's uuid%} to "&4Y&fT" send "&e%arg 1% &6est désormais &4You&fTubeur" to player send "&6Vous êtes désormais &4You&fTubeur" to arg 1 if arg 2 is "Administrateur" or "Admin": set {grade.%arg 1's uuid%} to "&cAdmin" send "&e%arg 1% &6est désormais &cAdministrateur" to player send "&6Vous êtes désormais &cAdministrateur" to arg 1 if arg 2 is "Fondateur" or "Fonda": set {grade.%arg 1's uuid%} to "&4Fondateur" send "&e%arg 1% &6est désormais &4Fondateur" to player send "&6Vous êtes désormais &4Fondateur" to arg 1 if arg 2 is "Donateur" or "Don": set {grade.%arg 1's uuid%} to "&5Donateur" send "&e%arg 1% &6est désormais &5Donateur" to player send "&6Vous êtes désormais &5Donateur" to arg 1 set the arg 1's tablist name to "%{grade.%arg 1's uuid%}% %arg 1%" stop on join: set the player's tablist name to "%{grade.%player's uuid%}% %player%"
-
Version de Minecraft : 1.12.2 Version de Skript : last Type du skript : Skript de banque avec vault Bonjour, Je souhaite sur mon serveur implementer un systeme de banque avec des interets et pouvoir deposer et retirer son argent ! Voici mon script : on join: if {argent.%player%} isn't set: set {argent.%player%} to 0 on right click on villager: if name of entity is "&2Banque": cancel event make player execute command "/banque menu" on damage: if victim is villager: if name of entity is "&2Banque": cancel event command /banque [<text>]: trigger: if arg is "menu": open virtual chest with 1 rows named "&a&lBanque de %player%" to player wait 1 ticks make a gui slot 0,1,2,4,6,7 and 8 of player with gray glass pane named "&8Ca ne sert a rien... " with lore " " to do nothing make a gui slot 3 of player with green glass named "&aDeposer de l'argent" with lore " " to close then run player command "/banque depose" make a gui slot 4 of player with ender chest named "&6 Votre fortune :" with lore "&6%{argent.%player%}%" to do nothing make a gui slot 5 of player with red glass named "&cRetirer de l'argent" with lore " " to close then run player command "/banque retire" make a gui slot 8 of player with barrier named "&4&lFermer" to close if arg is "depose": open virtual chest with 1 rows named "&aChoisir le montant a deposer" to player wait 1 ticks make a gui slot 0 of player with green glass named "&a&l5 CubyCoins" with lore " " to close then run function add_money(player, 5) make a gui slot 1 of player with green glass named "&a&l10 CubyCoins" with lore " " to close then run function add_money(player, 10) make a gui slot 2 of player with green glass named "&a&l50 CubyCoins" with lore " " to close then run function add_money(player, 50) make a gui slot 3 of player with green glass named "&a&l100 CubyCoins" with lore " " to close then run function add_money(player, 100) make a gui slot 4 of player with green glass named "&a&l500 CubyCoins" with lore " " to close then run function add_money(player, 500) make a gui slot 5 of player with green glass named "&a&l1000 CubyCoins" with lore " " to close then run function add_money(player, 1000) make a gui slot 6 of player with green glass named "&a&l5000 CubyCoins" with lore " " to close then run function add_money(player, 5000) make a gui slot 7 of player with green glass named "&a&l10000 CubyCoins" with lore " " to close then run function add_money(player, 10000) make a gui slot 8 of player with arrow named "&cRetour" with lore "" to close then run player command "/bank menu" if arg is "retire": open virtual chest with 1 rows named "&aChoisir le montant a deposer" to player wait 1 ticks make a gui slot 0 of player with red glass named "&a&l5 CubyCoins" with lore " " to close then run function remove_money(player, 5) make a gui slot 1 of player with red glass named "&a&l10 CubyCoins" with lore " " to close then run function remove_money(player, 10) make a gui slot 2 of player with red glass named "&a&l50 CubyCoins" with lore " " to close then run function remove_money(player, 50) make a gui slot 3 of player with red glass named "&a&l100 CubyCoins" with lore " " to close then run function remove_money(player, 100) make a gui slot 4 of player with red glass named "&a&l500 CubyCoins" with lore " " to close then run function remove_money(player, 500) make a gui slot 5 of player with red glass named "&a&l1000 CubyCoins" with lore " " to close then run function remove_money(player, 1000) make a gui slot 6 of player with red glass named "&a&l5000 CubyCoins" with lore " " to close then run function remove_money(player, 5000) make a gui slot 7 of player with red glass named "&a&l10000 CubyCoins" with lore " " to close then run function remove_money(player, 10000) make a gui slot 8 of player with arrow named "&cRetour" with lore "" to close then run player command "/bank menu" function add_money(p: player, am: integer): #Fonction pour ajouter de la money dans le coffre if balance of {_p} is greater than or equal to {_am}: add {_am} to {argent.%player%} make console execute command "eco take %{_p}% %{_am}%" else: send "&4Vous n'avez pas assez de money !" function remove_money(p: player, am: integer): #Fonction pour enlever la money du coffre if {argent.%player%} is greater than or equal to {_am}: remove {_am} to {argent.%player%} make console execute command "eco give %{_p}% %{_am}%" else: send "&4Vous n'avez pas assez d'argent dans votre compte en banque !" on load: send "--------------------------------------------" to console send " " to console send "Banque Loaded" to console send "By Waz0x_x " to console send "--------------------------------------------" to console on unload: send "--------------------------------------------" to console send " " to console send "Banque Unloaded" to console send "By Waz0x_x " to console send "--------------------------------------------" to console Malheureusement j'ai quelques erreures : a la ligne 54 donc : add {_am} to {argent.%player%}. ensuite au niveau des messages : send "&4Vous n'avez pas assez d'argent dans votre compte en banque !" et send"&4Vous n'avez pas assez de money !" et ensuite a la ligne 63 le 2e else je cite : 'else' has to be placed just after an 'if' or 'else if' section (bank.sk, line63: else:') J'aurais vraiment besoin d'aide svp je vous remercie deja !