> NoaGamingFR Posté(e) le 27 février 2016 Posté(e) le 27 février 2016 Bonjour chères skripteu(rses), Aujourd'hui je vien vous pour mettre un cooldown à un kit comme le pluggins essentials. et avoir un /kit vip ou /kit joueur avec des argument j'ai essayé: if arg 1 is "Joueur": give... Mon code pour le kit command /kit j: permission: kitj.use trigger: give Iron Helmet of protection 1 named "&7&l[&e&lJ&7&l]" to the player give Iron chestplate of protection 1 named "&7&l[&e&lJ&7&l]" to the player give Iron Leggings of protection 1 named "&7&l[&e&lJ&7&l]" to the player give Iron Boots of protection 1 named "&7&l[&e&lJ&7&l]" to the player give 16 steak named "&7&l[&e&lJ&7&l]" to the player
0 HardTrox Posté(e) le 27 février 2016 Posté(e) le 27 février 2016 Bonjour chères skripteu(rses), Aujourd'hui je vien vous pour mettre un cooldown à un kit comme le pluggins essentials. et avoir un /kit vip ou /kit joueur avec des argument j'ai essayé: if arg 1 is "Joueur": give... Mon code pour le kit command /kit j: permission: kitj.use trigger: give Iron Helmet of protection 1 named "&7&l[&e&lJ&7&l]" to the player give Iron chestplate of protection 1 named "&7&l[&e&lJ&7&l]" to the player give Iron Leggings of protection 1 named "&7&l[&e&lJ&7&l]" to the player give Iron Boots of protection 1 named "&7&l[&e&lJ&7&l]" to the player give 16 steak named "&7&l[&e&lJ&7&l]" to the player J'espere que sa te va ! [spoiler=Le code !][spoiler=Le code !] # >> Skript fait par TheHardTrox << # >> Skype HardTroxPvP << # *** > Skript : Kits < *** # # --- > Configuration < --- # options: listkits : &7Les kits : &eJoueur &cVip cooldown : 1 #en minutes # --- > Configuration < --- # command /kits [<text>]: trigger: if arg 1 is not set: message "{@listkits}" if arg 1 is "joueur": if player has permission "kitjoueur.use": if {cooldownkitj.%player%} is not set: set {cooldownkitj.%player%} to 1 give Iron helmet of protection 1 named "&7&l[&e&lJ&7&l]" to player give Iron chestplate of protection 1 named "&7&l[&e&lJ&7&l]" to player give Iron Leggings of protection 1 named "&7&l[&e&lJ&7&l]" to player give Iron Boots of protection 1 named "&7&l[&e&lJ&7&l]" to player give 16 steak named "&7&l[&e&lJ&7&l]" to player message "&7Tu as reçu ton kits !" wait {@cooldown} minutes delete {cooldownkitj.%player%} message "&9Ton kit joueur est disponible !" stop else: message "Tu dois patienter !" else: message "&c tu n'as pas la permission" if arg 1 is "vip": if player has permission "kitvip.use": if {cooldownkitvip.%player%} is not set: set {cooldownkitvip.%player%} to 1 give Iron helmet of protection 1 named "&7&l[&e&lJ&7&l]" to player give Iron chestplate of protection 1 named "&7&l[&e&lJ&7&l]" to player give Iron Leggings of protection 1 named "&7&l[&e&lJ&7&l]" to player give Iron Boots of protection 1 named "&7&l[&e&lJ&7&l]" to player give 16 steak named "&7&l[&e&lJ&7&l]" to player message "&7Tu as reçu ton kits !" wait {@cooldown} minutes delete {cooldownkitvip.%player%} message "&9Ton kit VIP est disponible" stop else: message "Tu dois patienter !" else: message "&c tu n'as pas la permission"
0 > NoaGamingFR Posté(e) le 27 février 2016 Auteur Posté(e) le 27 février 2016 Owww je vois que le code doit être fonctionnel j'essaie ça.
0 HardTrox Posté(e) le 27 février 2016 Posté(e) le 27 février 2016 Owww je vois que le code doit être fonctionnel j'essaie ça. Oui il l'est :) Aime s'il te plait :D
0 > NoaGamingFR Posté(e) le 27 février 2016 Auteur Posté(e) le 27 février 2016 Il marche merci ;) dans ta signature on peut pas cliquer pour voir tes sk x) :/ et comment je fait pour ajouter un autre kit** ? je copie quelle partie du code?
0 HardTrox Posté(e) le 27 février 2016 Posté(e) le 27 février 2016 Il marche merci ;) dans ta signature on peut pas cliquer pour voir tes sk x) :/ et comment je fait pour ajouter un autre code ? je copie quelle partie du code? a tu Skype ? si oui ajoute le mien HardTroxPvP
0 Mastersfelix Posté(e) le 27 février 2016 Posté(e) le 27 février 2016 N'oublie pas de mettre ton sujet en résolu!
Question
> NoaGamingFR
Bonjour chères skripteu(rses),
Aujourd'hui je vien vous pour mettre un cooldown à un kit comme le pluggins essentials.
et avoir un /kit vip ou /kit joueur avec des argument j'ai essayé:
if arg 1 is "Joueur":
give...
Mon code pour le kit
command /kit j:
permission: kitj.use
trigger:
give Iron Helmet of protection 1 named "&7&l[&e&lJ&7&l]" to the player
give Iron chestplate of protection 1 named "&7&l[&e&lJ&7&l]" to the player
give Iron Leggings of protection 1 named "&7&l[&e&lJ&7&l]" to the player
give Iron Boots of protection 1 named "&7&l[&e&lJ&7&l]" to the player
give 16 steak named "&7&l[&e&lJ&7&l]" to the player
6 réponses à cette question
Messages recommandés