SHARE
TWEET

Untitled

a guest May 24th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on right click on grass:
  2.     if player has permission "recolte.canna":
  3.         if player doesn't have permission "recolte.canna":
  4.  
  5.             if {cannabis::%player%} is not set:
  6.                 set {cannabis::%player%} to 1
  7.                 send "&aRécolte en cours ."
  8.                 wait 3 seconds
  9.                 send "&aRécolte en cours .."
  10.                 wait 3 seconds
  11.                 send "&aRécolte en cours ..."
  12.                 wait 3 seconds
  13.                 clear {cannabis::%player%}
  14.                 if chance of 100%:
  15.                     give 1 1202 named "&aFeuille de Cannabis" with lore "&eInformation &6• &eVa traiter cette feuille pour qu'elle soit vendable" to player
  16.                     send "&7[&aRécolte&7] &7Tu viens de récolté une feuille de cannavis"
  17.                     stop
  18.                 else:
  19.                     send "&cAh, tu n'a rien trouvé !"
  20.                     stop
  21.             if {cannabis::%player%} is set:
  22.                 send "&7[&cOwnLineRp&7] &cTu es déja occupé a récolté !" to player
  23.                 stop
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. options:
  34.     Traitementfinis: &2{ &aTraitement Finis &2} &aBravo tu viens de finir de traiter
  35.     TraitementFail: &2{ &cTraitement Erreur &2} &cDommage ton traitement n'est pas finis
  36.     VenteCannabis: &2{ &cVente Erreur &2} &cVotre vente vient d'être interrompus
  37.     VendeurFinis: &2{ &cVente &2} &aVente terminé
  38.  
  39. on join:
  40.     if {traitementcannabis::%player%} is set:
  41.         clear {traitementcannabis::%player%}
  42.     if {traitementcannabis2::%player%} is set:
  43.         clear {traitementcannabis2::%player%}
  44.     if {traitementcannabis3::%player%} is set:
  45.         clear {traitementcannabis3::%player%}
  46.     if {coke::%player%} is set:
  47.         clear {coke::%player%}
  48.     if {cannabis::%player%} is set:
  49.         clear {cannabis::%player%}
  50.     if {vendeurcannabis::%player%} is set:
  51.         clear {vendeurcannabis::%player%}
  52.        
  53. on script load:
  54.     clear {traitementcannabis::*}
  55.     clear {traitementcannabis2::*}
  56.     clear {traitementcannabis3::*}
  57.     clear {coke::*}
  58.     clear {cannabis::*}
  59.     clear {vendeurcannabis::*}
  60.  
  61. command /traitement <text>:
  62.     trigger:
  63.         if arg 1 is "info":
  64.             message "&cEffacé la variable faite /traitement resettraitement"
  65.         if arg 1 is "achatlicence":
  66.             open chest with 1 rows named "&cAchat Licence" to player
  67.             format slot 4 of player with paper named "&6Licence Cannabis" with lore "&7&l[&cPrix&7&l] || &c• &c50 000 €" to run [make player execute command "/traitement achatcommandelicence"]
  68.         if arg 1 is "achatcommandelicence":
  69.             if player's balance is bigger  than 49999:
  70.                 execute console command "/eco take %player% 50000"
  71.                 execute console command "/manuaddp %player% recolte.canna"
  72.         if arg 1 is "resettraitement":
  73.             clear {traitementcannabis::*}
  74.             clear {traitementcannabis2::*}
  75.             clear {coke::*}
  76.             clear {cannabis::*}
  77.             clear {vendeurcannabis::*}
  78.         if arg 1 is "menutraitementdrogue1":
  79.             open chest with 1 rows named "&2{ &aTraiteur &2}" to player
  80.             format slot 8 of player with 166 named "&c&lFermer" to close
  81.             format slot 4 of player with 1202 named "&aTraiter &8(&71&8/&72&8)" with lore "&f&l[&cInformation&f&l] ||&e1 Feuille de cannabis contre ||&e1 Feuille de cannabis traiter" to run [make player execute command "/traitement traitementdrogue1"]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top