Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on npc right click:
- if event-entity's name is "Police":
- make player execute command "/police"
- command /police:
- trigger:
- set {Gui.Job.%player%} to true
- open chest with 6 rows named "&b&l[&3Métier&b&l]" to player
- wait 1 tick
- format slot 0 of player with blue stained glass named " " to be unstealable
- format slot 1 of player with blue stained glass named " " to be unstealable
- format slot 2 of player with blue stained glass named " " to be unstealable
- format slot 3 of player with blue stained glass named " " to be unstealable
- format slot 4 of player with blue stained glass named " " to be unstealable
- format slot 5 of player with blue stained glass named " " to be unstealable
- format slot 6 of player with blue stained glass named " " to be unstealable
- format slot 7 of player with blue stained glass named " " to be unstealable
- format slot 8 of player with blue stained glass named " " to be unstealable
- format slot 9 of player with blue stained glass named " " to be unstealable
- format slot 10 of player with blue stained glass named " " to be unstealable
- format slot 11 of player with blue stained glass named " " to be unstealable
- format slot 12 of player with blue stained glass named " " to be unstealable
- format slot 13 of player with blue stained glass named " " to be unstealable
- format slot 14 of player with blue stained glass named " " to be unstealable
- format slot 15 of player with blue stained glass named " " to be unstealable
- format slot 16 of player with blue stained glass named " " to be unstealable
- format slot 17 of player with blue stained glass named " " to be unstealable
- format slot 18 of player with blue stained glass named " " to be unstealable
- format slot 19 of player with 6361 named "&9Recrue" with lore "&bVous êtes une recrue policière vous écoutez les ordres de vos supérieurs !" to run [make console execute command "/recrue %player%"]
- format slot 20 of player with blue stained glass named " " to be unstealable
- format slot 21 of player with 6361 named "&9Sous-Brigadier" with lore "&bVous êtes Sous-Brigadier vous avez fait vos preuves mais vous ne pouvez pas encore dirigez de recrue!" to run [make console execute command "/sous-brigadier %player%"]
- format slot 22 of player with blue stained glass named " " to be unstealable
- format slot 23 of player with 6361 named "&9Brigadier" with lore "&bVous êtes Brigadier vous avez fait vos preuves et pouvez diriger des recrues!" to run [make console execute command "/brigadier %player%"]
- format slot 24 of player with blue stained glass named " " to be unstealable
- format slot 25 of player with 6361 named "&9Lieutenant" with lore "&bVous êtes Lieutenant vous êtes en dessous de capitaine mais vous êtes un homme de main et les haut gradés en confiance en vous!" to run [make console execute command "/brigadier %player%"]
- format slot 26 of player with blue stained glass named " " to be unstealable
- format slot 27 of player with 6361 named "&9Capitaine" with lore "&bVous êtes Capitaine vous pouvez dirigez un grand nombre d'homme!" to run [make console execute command "/brigadier %player%"]
- format slot 28 of player with blue stained glass named " " to be unstealable
- format slot 29 of player with 6361 named "&9Commandant" with lore "&bVous êtes le commandant vous dirigez le comissariat quand le général n'est pas présent et vous pouvez dirigez tout les hommes, vous devez quand même le respect au général!" to run [make console execute command "/brigadier %player%"]
- format slot 30 of player with blue stained glass named " " to be unstealable
- format slot 31 of player with 6361 named "&9Général" with lore "&bVous êtes le Général vous dirigez le comissariat et tout les hommes qui si ont tout le monde vous doit le respect !" to run [make console execute command "/brigadier %player%"]
- format slot 32 of player with blue stained glass named " " to be unstealable
- format slot 32 of player with blue stained glass named " " to be unstealable
- format slot 34 of player with blue stained glass named " " to be unstealable
- format slot 35 of player with blue stained glass named " " to be unstealable
- format slot 35 of player with blue stained glass named " " to be unstealable
- format slot 37 of player with blue stained glass named " " to be unstealable
- format slot 38 of player with blue stained glass named " " to be unstealable
- format slot 39 of player with blue stained glass named " " to be unstealable
- format slot 40 of player with blue stained glass named " " to be unstealable
- format slot 41 of player with blue stained glass named " " to be unstealable
- format slot 42 of player with blue stained glass named " " to be unstealable
- format slot 43 of player with blue stained glass named " " to be unstealable
- format slot 44 of player with blue stained glass named " " to be unstealable
- format slot 45 of player with blue stained glass named " " to be unstealable
- format slot 46 of player with blue stained glass named " " to be unstealable
- format slot 47 of player with blue stained glass named " " to be unstealable
- format slot 48 of player with blue stained glass named " " to be unstealable
- format slot 49 of player with blue stained glass named " " to be unstealable
- format slot 50 of player with blue stained glass named " " to be unstealable
- format slot 51 of player with blue stained glass named " " to be unstealable
- format slot 52 of player with blue stained glass named " " to be unstealable
- format slot 53 of player with blue stained glass named " " to be unstealable
- command /recrue <player>:
- executable by: console
- trigger:
- if {Gui.Job.%player%} is true:
- if arg 1 is set:
- make console execute command "manuadd %arg-1% recrue"
- message "&6Tu viens de prendre ton service en tant que recrue !" to arg-1
- set {Gui.Job.%player%} to false
- else if {Gui.Job.%player%} is false:
- send "&4tu dois aller au comissariat pour prendre ton service !"
- stop
- command /Sous-Brigadier <player>:
- executable by: console
- trigger:
- if {Gui.Job.%player%} is true:
- if arg 1 is set:
- make console execute command "manuadd %arg-1% Sous-Brigadier"
- message "&6Tu viens de prendre ton service en tant que Sous-Brigadier !" to arg-1
- set {Gui.Job.%player%} to false
- else if {Gui.Job.%player%} is false:
- send "&4tu dois aller au comissariat pour prendre ton service !"
- stop
- command /Brigadier <player>:
- executable by: console
- trigger:
- if {Gui.Job.%player%} is true:
- if arg 1 is set:
- make console execute command "manuadd %arg-1% Brigadier"
- message "&6Tu viens de prendre ton service en tant que Brigadier !" to arg-1
- set {Gui.Job.%player%} to false
- else if {Gui.Job.%player%} is false:
- send "&4tu dois aller au comissariat pour prendre ton service !"
- stop
- command /Lieutenant <player>:
- executable by: console
- trigger:
- if {Gui.Job.%player%} is true:
- if arg 1 is set:
- make console execute command "manuadd %arg-1% Lieutenant"
- message "&6Tu viens de prendre ton service en tant que Lieutenant !" to arg-1
- set {Gui.Job.%player%} to false
- else if {Gui.Job.%player%} is false:
- send "&4tu dois aller au comissariat pour prendre ton service !"
- stop
- command /Capitaine <player>:
- executable by: console
- trigger:
- if {Gui.Job.%player%} is true:
- if arg 1 is set:
- make console execute command "manuadd %arg-1% Capitaine"
- message "&6Tu viens de prendre ton service en tant que Capitaine !" to arg-1
- set {Gui.Job.%player%} to false
- else if {Gui.Job.%player%} is false:
- send "&4tu dois aller au comissariat pour prendre ton service !"
- stop
- command /Commandant <player>:
- executable by: console
- trigger:
- if {Gui.Job.%player%} is true:
- if arg 1 is set:
- make console execute command "manuadd %arg-1% Commandant"
- message "&6Tu viens de prendre ton service en tant que Commandant !" to arg-1
- set {Gui.Job.%player%} to false
- else if {Gui.Job.%player%} is false:
- send "&4tu dois aller au comissariat pour prendre ton service !"
- stop
- command /Général <player>:
- executable by: console
- trigger:
- if {Gui.Job.%player%} is true:
- if arg 1 is set:
- make console execute command "manuadd %arg-1% Général"
- message "&6Tu viens de prendre ton service en tant que Général !" to arg-1
- set {Gui.Job.%player%} to false
- else if {Gui.Job.%player%} is false:
- send "&4tu dois aller au comissariat pour prendre ton service !"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement