Aller au contenu

Dozensam

Membre
  • Compteur de contenus

    183
  • Inscription

  • Dernière visite

  • Jours gagnés

    1

Tout ce qui a été posté par Dozensam

  1. Tien le code avec les 5blocs on rightclick on sign: if line 1 contain "[braquageBank]": if {braquage.on} is true: broadcast "&4&lATTENTION LA BANQUE SE FAIT BRAQUER - MERCI AUX POLICIERS ET AUX MILITAIRES DE S'Y RENDRE IMMEDIATEMENT !" send "<red>Démmarrage du braquage ..." to player send "<red>Ne vous éloignez pas du panneau de plus de 5 blocs" to player set {bank.braquage.%player%} to 1 set {bank.braque} to 1 loop 30 times: if distance between event-block and player is bigger than 5: send "send <red>Vous vous êtes éloigné de la banque, le braquage est annulé !" stop {bank.braque} is equal to 1 send "<red>Il vous reste 30 seconds" to player loop 30 times: if distance between event-block and player is bigger than 5: send "send <red>Vous vous êtes éloigné de la banque, le braquage est annulé !" stop {bank.braque} is equal to 1 send "<red>Il vous reste 5 seconds" to player wait 1 seconds if distance between event-block and player is bigger than 5: send "send <red>Vous vous êtes éloigné de la banque, le braquage est annulé !" stop {bank.braque} is equal to 1 send "<red>Il vous reste 4 seconds" to player wait 1 seconds if distance between event-block and player is bigger than 5: send "send <red>Vous vous êtes éloigné de la banque, le braquage est annulé !" stop {bank.braque} is equal to 1 send "<red>Il vous reste 3 seconds" to player wait 1 seconds if distance between event-block and player is bigger than 5: send "send <red>Vous vous êtes éloigné de la banque, le braquage est annulé !" stop {bank.braque} is equal to 1 send "<red>Il vous reste 2 seconds" to player wait 1 seconds if distance between event-block and player is bigger than 5: send "send <red>Vous vous êtes éloigné de la banque, le braquage est annulé !" stop {bank.braque} is equal to 1 send "<red>Il vous reste 1 seconds" to player wait 1 seconds if distance between event-block and player is bigger than 5: send "send <red>Vous vous êtes éloigné de la banque, le braquage est annulé !" stop {bank.braque} is equal to 1 send "<red>Braque terminé" execute console command "/money give %player% 32000" send "<red>Vous avez gagné 32.000€ !" set {braquage.on} to false wait 30 minutes set {braquage.on} to true broadcast "La banque peut être braqué" else: message "Veuillez attendre pour branquer la banque"
  2. Tu as raison c'est les tabulations, tu as mis if distance between event-block and player is bigger than 5: send "send <red>Vous vous êtes éloigné de la banque, le braquage est annulé !" stop y'a 2 tablutations en trop :P
  3. on rightclick on sign: if line 1 contain "[braquageBank]": if {braquage.on} is true: broadcast "&4&lATTENTION LA BANQUE SE FAIT BRAQUER - MERCI AUX POLICIERS ET AUX MILITAIRES DE S'Y RENDRE IMMEDIATEMENT !" send "<red>Démmarrage du braquage ..." to player send "<red>Ne vous éloignez pas du panneau de plus de 5 blocs" to player set {bank.braquage.%player%} to 1 set {bank.braque} to 1 wait 30 seconds {bank.braque} is equal to 1 send "<red>Il vous reste 30 seconds" to player wait 25 seconds {bank.braque} is equal to 1 send "<red>Il vous reste 5 seconds" to player wait 1 seconds {bank.braque} is equal to 1 send "<red>Il vous reste 4 seconds" to player wait 1 seconds {bank.braque} is equal to 1 send "<red>Il vous reste 3 seconds" to player wait 1 seconds {bank.braque} is equal to 1 send "<red>Il vous reste 2 seconds" to player wait 1 seconds {bank.braque} is equal to 1 send "<red>Il vous reste 1 seconds" to player wait 1 seconds {bank.braque} is equal to 1 send "<red>Braque terminé" execute console command "/give %player% 266 320" send "<red>Vous avez gagné 32.000€ !" set {braquage.on} to false wait 30 minutes set {braquage.on} to true broadcast "La banque peut être braqué" else: message "Veuillez attendre pour branquer la banque"
  4. C'est bon j'avais oublier le On respawn x) c'est pareil :P merci quand même mais tu peux me dire si il me manque un add-on ? http://prntscr.com/99v9oc wait 3 ticks set {_count} to 0 loop 36 times: set slot {_count} of player's inventory to {inv.%{_count}%.main.%player%} add 1 to {_count} set the helmet of player to {inv.casque.main.%player%} set the chestplate of player to {inv.ventre.main.%player%} set the leggings of player to {inv.jambes.main.%player%} set the boots of player to {inv.pieds.main.%player%}
  5. Hum ça fait rien on damage: damage cause is fall: cancel event teleport victim to {jumpleague.checkpoint.%victim%} message "{@titre} Dommage... Tu es téléporté au dernier checkpoint !"
  6. Es-que c'est possible genre, quand il ets dans la waitroom ça créé un cube automatiquement ?
  7. Après si leurs meurs c'est pas grave mais juste faut qu'il soit TP au checkpoint
  8. Bonjour, Je voudrais savoir comment faire quand on tombe dans le vide on est TP a X endroit voici le code on damage: wait 0.5 second damage cause is void: wait 0.5 second teleport victim to {jumpleague.checkpoint.%victim%} message "{@titre} Dommage... Tu es téléporté au dernier checkpoint !" Voici l'erreur qu'il y a: La personne est bien tp au dernier Checkpoint, mais il meurt directement après a la second qui suit, j'ai essayer avec le heal etc rien Une aide ?
  9. Dozensam

    Savoir si un joueur bouge

    Tu peux pas t'imaginer comment je m'en tape royalement
  10. Dozensam

    Savoir si un joueur bouge

    A mon avis tu connais pas Epicube car jamais a HUB monte a 250 vu qu'il sont fixer a 100joueurs MAX
  11. Dozensam

    Savoir si un joueur bouge

    Compare pas Epicube est ton serv, il paye pas 200€/mois
  12. marche po on damage: if attacker is a player: if victim is a citizen: if {WCAntiKill.%attacker%.count} is not set: add 1 to {WCAntiKill.%attacker%.count} wait 10 second delete {WCAntiKill.%attacker%.count} else: add 1 to {WCAntiKill.%attacker%.count} if {WCAntiKill.%attacker%.count} >= 1: broadcast "cc %{WCAntiKill.%attacker%.count}%" else: stop Ok, j'ai compris, sa compte quand on tape des mobs, mais si c'est un NPC ça compte pas c'est assez wtf
  13. Bonjour, Je voudrais un skript pouc compter combien de fois la personne a taper en x seconde, Je veux pas du on left click: pourquoi ? car quand une personne fait du Kill Aura ben ça compte pas comme des click bizar donc je voudrais faire un systeme que quand la personne a taper X fois la personne ça nous envoie un message
  14. Dozensam

    Récupérer l'IP d'un serveur

    ça fonctionne %server's ip% mais faut l'add-on WildSkript http://prntscr.com/98ffi4
  15. Si une personne pourrais me guider & l'améliorer x)
  16. Ok, j'ai tester et je bloque si une personne veut finir ou m'aider ;) command /pfc [<offline player>] [<text>]: trigger: if arg 1 is set: if {pfcdefieon.%player%} is false: if {pfcdefieon.%arg 1%} is false: set {_player} to arg 1 set {pfcdefie.%player%} to arg 1 set {pfcdefie.%arg 1%} to player set {pfcdefie::*} to arg 1 set {pfcdefie::*} to player set {pfcdefieon.%player%} to "attente" set {pfcdefieon.%arg 1%} to "attente" send "Tu vient de reçoir une demande de défie a PFC contre %player%" to arg 1 send "Tu vient de défier %arg 1%" to player stop if arg 1 is "accepter": set {_playeraccepter} to arg 2 if {pfcdefieon.%player%} is "attente": if {pfcdefieon.%arg 2%} is "attente": set {pfcdefieon.%player%} to true set {pfcdefieon.%arg 1%} to true wait 2 tick open chest with 1 row named "pfc" to player if {pfc.%player%.papier} is false: if {pfc.%player%.pierre} is false: if {pfc.%player%.ciseau} is false: format slot 0 of player with paper to run [make player execute command "/pfc papier"] format slot 1 of player with stone to run [make player execute command "/pfc pierre"] format slot 2 of player with diamond named "Ciseaux" to run [make player execute command "/pfc ciseau"] if arg 1 is "papier": if {pfcdefieon.%player%} is true: set {pfc.%player%.papier} to true set {pfc.%player%.pierre} to false set {pfc.%player%.ciseau} to false if arg 1 is "pierre": if {pfcdefieon.%player%} is true: set {pfc.%player%.papier} to false set {pfc.%player%.pierre} to true set {pfc.%player%.ciseau} to false if arg 1 is "papier": if {pfcdefieon.%player%} is true: set {pfc.%player%.papier} to false set {pfc.%player%.pierre} to false set {pfc.%player%.ciseau} to true if {pfcdefieon.%player%} is true: ###faut comparé les deux joueurs mais j'y arrive pas
  17. Dozensam

    Script Buykits !

    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
  18. Dozensam

    Script Buykits !

    Il faut le skangeltool
  19. Dozensam

    Script Buykits !

    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]
  20. Pierre feuille ciseaux en gros le skript que tu veux faire voir les screens même c'est sur le serv HG
  21. Dozensam

    Script Buykits !

    Télécharge https://skript-mc.fr/forum/index.php?resources/skangeltool.37/ tu le mais comme un plugin
  22. Dozensam

    Script Buykits !

    Screen car impossible y'a aucune perm a avoir
  23. Dozensam

    Script Buykits !

    tu as fait /sk reload nomduskript ? si oui fait un screen des erreurs qu'il y a
  24. Dozensam

    Script Buykits !

    Screen ou recopie l'erreur au cas ou
  25. Dozensam

    Script Buykits !

    Oups y'a des erreurs tien 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 "/BuyKitsKit 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 "/BuyKitsKit 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 "/BuyKitsKit 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 "/BuyKitsKit 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 "/BuyKitsKit 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 "/BuyKitsKit 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 "/BuyKitsKit 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}"
×
×
  • 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.