ncobrail Posté(e) le 29 novembre 2015 Posté(e) le 29 novembre 2015 Pk '/buykitskit' tu na pas créer de commande :/
Dozensam Posté(e) le 29 novembre 2015 Posté(e) le 29 novembre 2015 Pk '/buykitskit' tu na pas créer de commande :/ Fail x) Oups y'a des erreurs tien [code=lua]options: nomdugui: chez baba message: %player% vient d'acheter le kit %arg 1% pour la somme de {@prixdukit} $!! prixdukit: 10000 command: /manuaddp %player% essentials.kits.minerais command /BuyKits [<text>]: trigger: if arg 1 is not set: wait 2 tick open chest with 1 row named "{@nomdugui}" to player format slot 0 of player with diamond sword named "Kit minerais " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKits minerais"] format slot 1 of player with diamond sword named "Kit explorateur " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKits explorateur"] format slot 2 of player with diamond sword named "Kit creeper " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKits creeper"] format slot 3 of player with diamond sword named "Kit alchimiste " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKits alchimiste"] format slot 4 of player with diamond sword named "Kit druide " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKits druide"] format slot 5 of player with diamond sword named "Kit construction " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKits construction"] format slot 6 of player with diamond sword named "Kit enchanteur " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKits enchanteur"] if arg 1 is "minerais" or "explorateur" or "creeper" or "alchimiste" or "druide" or "construction" or "enchanteur": if player's balance >= {@prixdukit}: make console execute command "/money take %player% {@prixdukit}" send "Tu as perdu {@prixdukit}$" make console execute command "{@command}" message "Tu vient d'acheter le &6kit %arg 1%&r, il te reste %player's money%" broadcast "{@message}" [/code]
ncobrail Posté(e) le 29 novembre 2015 Posté(e) le 29 novembre 2015 Son erreur est ici : if player's balance >= {@prixdukit}:
Dozensam Posté(e) le 29 novembre 2015 Posté(e) le 29 novembre 2015 Son erreur est ici : Il faut le skangeltool
Dozensam Posté(e) le 29 novembre 2015 Posté(e) le 29 novembre 2015 1.7.10 possible de l'avoir ? Aucune idée je tag le dev de l'add-on @angelus76 compatible ? Si il est pas ben il pourra pas, car c'est le seul add-on qui permet de gerrez l'Iconomy avec skript
angelus76 Posté(e) le 30 novembre 2015 Posté(e) le 30 novembre 2015 Skangeltool a ete conçue pour la version 1.8, 1.8.+ Mais il ne gere pas Iconomie il gere Iconomuie chestshop C'est pas pareille. Par contre a tu installer sur le serveur Vault ? 1
Messages recommandés