Aller au contenu

Xamez

Membre
  • Compteur de contenus

    417
  • Inscription

  • Dernière visite

  • Jours gagnés

    17

Tout ce qui a été posté par Xamez

  1. Xamez

    Clé Journalière

    Bizzard, moi ca marche
  2. Xamez

    Tablist Personalisée

    D'accord j'essaye avec protocol lib :) Edit: Marche toujours pas, avec protocol lib, même erreurs
  3. Xamez

    Tablist Personalisée

    Par contre moi j'ai l'addons et j'ai mis le skript command /example_tablist: trigger: enable array tablist for player #This creates a 4 x 20 grid of tabs in the player's tablist, there is further syntax for other amounts of rows/columns set display name of tab 1, 1 for player to "Hello!" #This sets the first tab as "Hello!" set icon of tab 4, 20 for player to alex #This sets the icon of the last tab as the alex skin set display name of tab 4, 20 for player to "ALEX" #This sets the last tab as "ALEX!" loop 20 times: set display name of tab 2, loop-number for player to "Column 2, Row %loop-number%" #This sets all of the tabs in the second column to display their column and row set icon of tab 2, loop-number for player to steve #This sets all of the tabs in the second column to have a steve skin as their icon Mais j'ai 6 erreurs donc jsp xD :/
  4. Xamez

    Tablist Personalisée

    Merci :)
  5. D'accord merci :)
  6. J'ai une question, a quoi sert le "Command /§sms" j'ai jamais compris a quoi ca servait le "§" xD Sinon, je pense que angelus76 à raison, cela dois marcher
  7. Xamez

    Erreur Scoreboard

    Pas de problème Kriiista ;) Lache un like, ca fait toujours plaisir
  8. Xamez

    Bloc special (piege)

    Perso je sais pas :/
  9. Xamez

    <none> qui n'a pas raison d'être

    D'accord merci, je suis désolé d'avant mal lut ;)
  10. Xamez

    <none> qui n'a pas raison d'être

    Toujours même erreur Code: [spoiler=Code] function winlot(p: player): set {_chance} to a random integer bitween 0 and 100 if {_chance} is smaller than or equal than 2: make console execute command "/admincoins add UltraCoins %{_p}% 1500" set {lot.%{_p}%} to "1500 Ultracoins ✩" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 else if {_chance} is smaller than or equal to 11: make console execute command "/admincoins add Coins %{_p}% 3000" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 set {lot.%{_p}%} to "3000 coins ✧" else if {_chance} is smaller than or equal to 18: make console execute command "/admincoins add UltraCoins %{_p}% 550" set {lot.%{_p}%} to "550 Ultracoins ✩" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 else if {_chance} is smaller than or equal to 25: make console execute command "/admincoins add Coins %{_p}% 2200" set {lot.%{_p}%} to "2200 coins ✧" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 else if {_chance} is smaller than or equal to 31: make console execute command "/admincoins add UltraCoins %{_p}% 115" set {lot.%{_p}%} to "115 Ultracoins ✩" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 else if {_chance} is smaller than or equal to 48: make console execute command "/admincoins add UltraCoins %{_p}% 50" set {lot.%{_p}%} to "50 Ultracoins ✩" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 else if {_chance} is smaller than or equal to 52: make console execute command "/admincoins add Coins %{_p}% 1200" set {lot.%{_p}%} to "1200 coins ✧" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 else if {_chance} is smaller than or equal to 64: make console execute command "/admincoins add Coins %{_p}% 850" set {lot.%{_p}%} to "850 coins ✧" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 else if {_chance} is smaller than or equal to 100: make console execute command "/admincoins add Coins %{_p}% 500" set {lot.%{_p}%} to "500 coins ✧" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4
  11. Xamez

    <none> qui n'a pas raison d'être

    J'ai fini avec le code mais j'ai ces erreurs: [spoiler=Les Erreurs] [14:53:43 ERROR]: can't understand this condition: '{_chance} is smaller or equal than 2' (Sanction.sk, line 18: if {_chance} is smaller or equal than 2:') [14:53:43 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (Sanction.sk, line 23: else if {_chance} is smaller or equal to 11:') [14:53:43 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (Sanction.sk, line 28: else if {_chance} is smaller or equal to 18:') [14:53:43 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (Sanction.sk, line 33: else if {_chance} is smaller or equal to 25:') [14:53:43 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (Sanction.sk, line 38: else if {_chance} is smaller or equal to 31:') [14:53:43 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (Sanction.sk, line 43: else if {_chance} is smaller or equal to 48:') [14:53:43 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (Sanction.sk, line 48: else if {_chance} is smaller or equal to 52:') [14:53:43 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (Sanction.sk, line 53: else if {_chance} is smaller or equal to 64:') [14:53:43 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (Sanction.sk, line 58: else if {_chance} is smaller or equal to 100:') Et le code: [spoiler=Le code] function winlot(p: player): set {_chance} to a random integer bitween 0 and 100 if {_chance} is smaller or equal than 2: make console execute command "/admincoins add UltraCoins %{_p}% 1500" set {lot.%{_p}%} to "1500 Ultracoins ✩" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 else if {_chance} is smaller or equal to 11: make console execute command "/admincoins add Coins %{_p}% 3000" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 set {lot.%{_p}%} to "3000 coins ✧" else if {_chance} is smaller or equal to 18: make console execute command "/admincoins add UltraCoins %{_p}% 550" set {lot.%{_p}%} to "550 Ultracoins ✩" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 else if {_chance} is smaller or equal to 25: make console execute command "/admincoins add Coins %{_p}% 2200" set {lot.%{_p}%} to "2200 coins ✧" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 else if {_chance} is smaller or equal to 31: make console execute command "/admincoins add UltraCoins %{_p}% 115" set {lot.%{_p}%} to "115 Ultracoins ✩" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 else if {_chance} is smaller or equal to 48: make console execute command "/admincoins add UltraCoins %{_p}% 50" set {lot.%{_p}%} to "50 Ultracoins ✩" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 else if {_chance} is smaller or equal to 52: make console execute command "/admincoins add Coins %{_p}% 1200" set {lot.%{_p}%} to "1200 coins ✧" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 else if {_chance} is smaller or equal to 64: make console execute command "/admincoins add Coins %{_p}% 850" set {lot.%{_p}%} to "850 coins ✧" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 else if {_chance} is smaller or equal to 100: make console execute command "/admincoins add Coins %{_p}% 500" set {lot.%{_p}%} to "500 coins ✧" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4
  12. Xamez

    <none> qui n'a pas raison d'être

    D'accord merci, je vais essayer :) Pour le moment ca donne ca: set {_chance} to a random integer bitween 0 and 100 if {_chance} is smaller or equal to 2: make console execute command "/admincoins add UltraCoins %{_p}% 1500" set {lot.%{_p}%} to "1500 Ultracoins ✩" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 else if {_chance} is smaller or equal to 12: make console execute command "/admincoins add Coins %{_p}% 3000" wait 2 ticks edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 set {lot.%{_p}%} to "3000 coins ✧"
  13. Xamez

    <none> qui n'a pas raison d'être

    D'accord merci j'avais pas vu :) Voila le code est refait ! Merci de ton aide mais maintenant j'ai plusieurs récompse quand j'ouvre une caisse :(
  14. Xamez

    <none> qui n'a pas raison d'être

    Salut, merci pour le code mais j'obtient toujours la même chose : 500 coins surtout c'est bizzrad car y a que 2% de chance de l'avoit donc je ne comprends pas et aussi tu as inversé les lots, genre c'est 2% pour le truc à 100 % ect.. mais ca je règlerais mais par contre comme déjà dit, c'est toujours le même que j'obtient
  15. Xamez

    <none> qui n'a pas raison d'être

    J'ai réussi mais ca met tous le temps le même lot, je dois mal utilisé les "chance of X%:" Comment faire xD ?
  16. Xamez

    <none> qui n'a pas raison d'être

    Enfaite ca ne va pas car ca envoie a tous les joueurs mais même a ceux qui ont sélectionner la langue francais donc c'est mort.
  17. Xamez

    <none> qui n'a pas raison d'être

    Merci, je test ca demain
  18. Xamez

    Pourcentage de chance

    Ouais par skype demain je suis libre. Skype: zemax.t et précise qui tu es
  19. Xamez

    Dynmap

    Comme dit plus haut, c est un forum de skript d ou son nom : skript-mc.
  20. Xamez

    Bloc special (piege)

    Essaye cela ( même si Azer_Flaash ne seras pas content :) ) on walk on sandstone: loop {locations.sandpiege::*}: set {_l} to event-block's location loop-value contains "%{_l}%" set {_yes} to true if {_yes} is true: set event-block to air remove location of event-block from {locations.sandpiege::*} Pexu être aussi que le "loop-value is "%{_l}%" marche mais que le problème viens de remove location of event-block from {locations.sandpiege::*} Bonne soirée Cordialement.
  21. Xamez

    Bloc special (piege)

    Dans ce cas là, le "contains" ne pose pas de problème car c'est des valeurs et non des "Caractères"
  22. Xamez

    Dynmap

    Peux être mais on est sur un forum de skript donc parler de java.... De plus, cela a aucun rapport avec skript.
  23. Xamez

    Erreur Scoreboard

    Salut, Technologic95 -> "À ce que j'ai vu, il faudrait SkRayFall & Umbaska" du poste "https://skript-mc.fr/forum/threads/scoreboard-limit%C3%A9-%C3%A0-16-caract%C3%A8res.3419/" Donc essaye de télécharger Umbaska (Umbaska n'est pas cité :)) Cordialement
  24. Xamez

    Dynmap

    Salut, DynMap est bien un plugin .Jar ? Si oui alors pourqoi le poster un un forum de SKRIPT ??
  25. Xamez

    Pourcentage de chance

    Salut, Ya 2 moyen: on entity shoot: if event-entity is a player: if {arrow.%attacker%} is true: set {_r} to a random integer between 1 and 4 if {_r} = 1: apply poison to the event-entity for 6 seconds #ton code du poison if {_r} = 2: #ton code fire if {_r} = 3: #ton code faiblesse if {_r} = 4: stop #ca fait rien # OU SINON chance of 25%: #ton code fire chance of 25%: #ton code faiblesse chance of 25%: #ton code poison chance of 25%: stop #ca fait rien #Ci le truc avec les "chance of 25%:" marche pas, fait comme ca: chance of 25%: #ton code fire chance of 50%: #ton code faiblesse chance of 75%: #ton code poison chance of 100%: stop #ca fait rien Code non testé mais ca dois marcher :)
×
×
  • 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.