Aller au contenu

Script Buykits !


Messages recommandés

Posté(e)
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]

Posté(e)

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 ?

  • J'aime 1
×
×
  • 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.