Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on npc right click:
- if citizen is 21:
- if {metier.%player%} is "&aSoldat (FR)":
- send "&7[&aVanozia&7] &cTu n'es pas de mon pays !"
- else if {metier.%player%} is not "&aSoldat (AL)":
- send "&7[&aVanozia&7] &cTu n'es pas soldat !"
- else if {metier.%player%} is "&aSoldat (AL)":
- if player has permission "vanozia.vip":
- open chest with 1 rows named "&aVehicule" to player
- wait 2 tick
- format slot 3 of player with 5032 named "&aAvion" with lore "&cCout: &b2150 Dollars ||&cLevel 25 Requis" to close then run [make player execute command "/§avional"]
- format slot 5 of player with 5819 named "&aTank" with lore "&cCout: &b4150 Dollars ||&cLevel 25 Requis" to close then run [make player execute command "/§tankal"]
- else:
- send "&7[&aVanozia&7] &cTu n'es pas &eVIP &c!"
- command /§avional:
- trigger:
- if {level.%player%} >= 25:
- else:
- send "&7[&aVanozia&7] &cTu doit avoir le Level 25 Au moin!"
- stop
- if player's money >= 2150:
- execute console command "/eco take %player% 2150"
- send "&7[&aVanozia&7] &2Tu as acheté l'avion !"
- give 1 5032 named "&aAvion" to player
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- command /§tankal:
- trigger:
- if {level.%player%} >= 25:
- else:
- send "&7[&aVanozia&7] &cTu doit avoir le Level 25 Au moin!"
- stop
- if player's money >= 4150:
- execute console command "/eco take %player% 4150"
- send "&7[&aVanozia&7] &2Tu as acheté le tank !"
- give 1 5824 named "&aTank" to player
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- on npc right click:
- if citizen is 22:
- if {metier.%player%} is "&aSoldat (AL)":
- send "&7[&aVanozia&7] &cTu n'es pas de mon pays !"
- else if {metier.%player%} is not "&aSoldat (FR)":
- send "&7[&aVanozia&7] &cTu n'es pas soldat !"
- else if {metier.%player%} is "&aSoldat (FR)":
- open chest with 1 rows named "&aVehicule" to player
- wait 2 tick
- format slot 2 of player with 5574 named "&aGrenade x5" with lore "&cCout: &b50 Dollars" to close then run [make player execute command "/§gren"]
- format slot 3 of player with 5576 named "&aSmoke Grande x5" with lore "&cCout: &b75 Dollars" to close then run [make player execute command "/§smoke"]
- format slot 4 of player with 5562 named "&eVIP &aLance Grenade x1" with lore "&cCout: &b1000 Dollars ||&cDesactivée" to close then run [make player execute command "/§lg"]
- format slot 5 of player with 5329 named "&eVIP &aBalle Grenade x5" with lore "&cCout: &b25 Dollars||&cDesactivée" to close then run [make player execute command "/§lgm"]
- format slot 6 of player with stick named "&aBaton de Fouille" with lore "&cCout: &b5 Dollars" to close then run [make player execute command "/§bf"]
- command /§bf:
- trigger:
- if player's money >= 5:
- execute console command "/eco take %player% 5"
- send "&7[&aVanozia&7] &2Tu as acheté un Baton de Fouille !"
- give 1 stick named "&aBaton de Fouille" to player
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- on npc right click:
- if citizen is 23:
- if {metier.%player%} is "&aSoldat (FR)":
- send "&7[&aVanozia&7] &cTu n'es pas de mon pays !"
- else if {metier.%player%} is not "&aSoldat (AL)":
- send "&7[&aVanozia&7] &cTu n'es pas soldat !"
- else if {metier.%player%} is "&aSoldat (AL)":
- open chest with 1 rows named "&aVehicule" to player
- wait 2 tick
- format slot 2 of player with 5574 named "&aGrenade x5" with lore "&cCout: &b50 Dollars" to close then run [make player execute command "/§gren"]
- format slot 3 of player with 5576 named "&aSmoke Grande x5" with lore "&cCout: &b75 Dollars" to close then run [make player execute command "/§smoke"]
- format slot 4 of player with 5562 named "&eVIP &aLance Grenade x1" with lore "&cCout: &b1000 Dollars" to close then run [make player execute command "/§desactivate"]
- format slot 5 of player with 5329 named "&eVIP &aBalle Grenade x5" with lore "&cCout: &b25 Dollars" to close then run [make player execute command "/§desactivate"]
- format slot 6 of player with stick named "&aBaton de Fouille" with lore "&cCout: &b5 Dollars" to close then run [make player execute command "/§bf"]
- command /§lgm:
- trigger:
- if player has permission "vanozia.vip":
- if player's money >= 25:
- execute console command "/eco take %player% 25"
- send "&7[&aVanozia&7] &2Tu as acheté 5x Munition Grenade !"
- give 5 5329 named "&aMunition Grenade" to player
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- send "&7[&aVanozia&7] &cTu n'est pas &eVIP &c!"
- command /§desactivate:
- trigger:
- send "&7[&aVanozia&7] &cCe produit est desactivée."
- command /§lg:
- trigger:
- if player has permission "vanozia.vip":
- if player's money >= 1000:
- execute console command "/eco take %player% 1000"
- send "&7[&aVanozia&7] &2Tu as acheté 1x Lance Grenade !"
- give 1 5562 named "&aLance Grenade" to player
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- send "&7[&aVanozia&7] &cTu n'est pas &eVIP &c!"
- command /§smoke:
- trigger:
- if player's money >= 75:
- execute console command "/eco take %player% 75"
- send "&7[&aVanozia&7] &2Tu as acheté 5x Smoke Grenade !"
- give 5 5576 named "&aSmoke Grenade" to player
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- command /§gren:
- trigger:
- if player's money >= 50:
- execute console command "/eco take %player% 50"
- send "&7[&aVanozia&7] &2Tu as acheté 5x Grenade !"
- give 5 5574 named "&aGrenade" to player
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- on npc right click:
- if citizen is 20:
- if {metier.%player%} is "&aSoldat (AL)":
- send "&7[&aVanozia&7] &cTu n'es pas de mon pays !"
- else if {metier.%player%} is not "&aSoldat (FR)":
- send "&7[&aVanozia&7] &cTu n'es pas soldat !"
- else if {metier.%player%} is "&aSoldat (FR)":
- if player has permission "vanozia.vip":
- open chest with 1 rows named "&aVehicule" to player
- wait 2 tick
- format slot 3 of player with 5032 named "&aAvion" with lore "&cCout: &b2150 Dollars||&cLevel 25 Requis" to close then run [make player execute command "/§avion"]
- format slot 5 of player with 5819 named "&aTank" with lore "&cCout: &b4150 Dollars||&cLevel 25 Requis" to close then run [make player execute command "/§tank"]
- else:
- send "&7[&aVanozia&7] &cTu n'es pas &eVIP &c!"
- command /§tank:
- trigger:
- if {level.%player%} >= 25:
- else:
- send "&7[&aVanozia&7] &cTu doit avoir le Level 25 Au moin!"
- stop
- if player's money >= 4150:
- execute console command "/eco take %player% 4150"
- send "&7[&aVanozia&7] &2Tu as acheté le tank !"
- give 1 5819 named "&aTank" to player
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- command /§avion:
- trigger:
- if {level.%player%} >= 25:
- else:
- send "&7[&aVanozia&7] &cTu doit avoir le Level 25 Au moin!"
- stop
- if player's money >= 2150:
- execute console command "/eco take %player% 2150"
- send "&7[&aVanozia&7] &2Tu as acheté l'avion !"
- give 1 5032 named "&aAvion" to player
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- command /setspawn:
- permission: vanozia.staff
- permission message: &7[&aVanozia&7] &cTu n'as pas la permission !
- trigger:
- set {spawn} to location of player
- send "&7[&aVanozia&7] &2Tu as bien mis le spawn!"
- command /vendeur:
- permission: vanozia.staff
- permission message: &7[&aVanozia&7] &cTu n'as pas la permission !
- trigger:
- set {armfr} to 0
- set {armal} to 0
- command /gagne:
- permission: vanozia.staff
- permission message: &7[&aVanozia&7] &cTu n'as pas la permission !
- trigger:
- give 1 732:13 named "&aFrançais" to player
- give 1 732:13 named "&aAllemand" to player
- on place 732:13:
- if name of tool is "&aFrançais":
- set {gagnefr.%location of block%} to true
- else if name of tool is "&aAllemand":
- set {gagneal.%location of block%} to true
- on right click on 732:13:
- if {gagnefr.%location of block%} is set:
- if {metier.%player%} is "&aSoldat (FR)":
- send "&7[&aVanozia&7] &cTu ne peux pas attaquer ton propre Village !"
- else if {metier.%player%} is not "&aSoldat (AL)":
- send "&7[&aVanozia&7] &cTu ne peux pas attaquer de Village !"
- else if {metier.%player%} is "&aSoldat (AL)":
- if {attaque.FR} is set:
- send "&7[&aVanozia&7] &cToi ou un membre de ton equipe est dêja en train d'attaquer !"
- else if {sous-lieutenantal.%player%} is false:
- send "&7[&aVanozia&7] &cTu dois avoir au moin acheté le grade Sous-Lieutenant !"
- else if {sous-lieutenantal.%player%} is true:
- set {verif} to false
- loop all players:
- if {metier.%loop-player%} is "&aSoldat (FR)":
- set {verif} to true
- if {verif} is false:
- send "&7[&aVanozia&7] &cIl doit avoir au moin 1 Soldat Français !"
- else if {temp.FR} < 1800:
- send "&7[&aVanozia&7] &cIl y'a eu dêja eu une attaque il y'a moin de 30 Minutes !"
- else if {temp.FR} >= 1800:
- set {attaque.FR} to "%player%"
- wait 1 tick
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
- send "&e5/100"
- wait 4 seconds
- if {attaque.FR} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
- send "&e8/100"
- wait 4 seconds
- if {attaque.FR} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
- send "&e12/100"
- wait 4 seconds
- if {attaque.FR} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
- send "&e16/100"
- wait 4 seconds
- if {attaque.FR} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
- send "&e20/100"
- wait 4 seconds
- if {attaque.FR} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
- send "&e26/100"
- wait 4 seconds
- if {attaque.FR} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
- send "&e35/100"
- wait 4 seconds
- if {attaque.FR} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
- send "&e45/100"
- wait 4 seconds
- if {attaque.FR} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer (Moitié)!"
- send "&e55/100"
- wait 4 seconds
- if {attaque.FR} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
- send "&e60/100"
- wait 4 seconds
- if {attaque.FR} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
- send "&e65/100"
- wait 4 seconds
- if {attaque.FR} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
- send "&e75/100"
- wait 6 seconds
- if {attaque.FR} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
- send "&e85/100"
- wait 10 seconds
- if {attaque.FR} is set:
- broadcast "&8)&7&m----------&8( &aVanozia &8)&7&m----------&8("
- broadcast " "
- broadcast " &aFIN DE PARTIE"
- broadcast "&aBravo aux soldats: &bAllemand"
- broadcast " "
- broadcast "&8)&7&m----------&8( &aVanozia &8)&7&m----------&8("
- loop all players:
- if {metier.%loop-player%} is "&aSoldat (AL)":
- execute console command "/addxp %loop-player% 450"
- execute console command "/eco give %loop-player% 1500"
- message "&e+ &b1500 &eDollars" to loop-player
- clear the loop-player's inventory
- teleport loop-player to {spawn}
- set {metier.%loop-player%} to "&cAucun"
- delete {attaque.FR}
- delete {attaque.AL}
- set {point.FR} to 0
- set {point.AL} to 0
- else if {metier.%loop-player%} is "&aSoldat (FR)":
- clear the loop-player's inventory
- teleport loop-player to {spawn}
- set {metier.%loop-player%} to "&cAucun"
- set {point.FR} to 0
- set {point.AL} to 0
- set {temp.FR} to 0
- every 1 seconds:
- set {temp.FR} to {temp.FR} + 1
- set {temp.AL} to {temp.AL} + 1
- on right click on 732:13:
- if {gagneal.%location of block%} is set:
- if {metier.%player%} is "&aSoldat (AL)":
- send "&7[&aVanozia&7] &cTu ne peux pas attaquer ton propre Village !"
- else if {metier.%player%} is not "&aSoldat (FR)":
- send "&7[&aVanozia&7] &cTu ne peux pas attaquer de Village !"
- else if {metier.%player%} is "&aSoldat (FR)":
- if {attaque.AL} is set:
- send "&7[&aVanozia&7] &cToi ou un membre de ton equipe est dêja en train d'attaquer !"
- else if {sous-lieutenantfr.%player%} is true:
- set {verif} to false
- loop all players:
- if {metier.%loop-player%} is "&aSoldat (AL)":
- set {verif} to true
- if {verif} is false:
- send "&7[&aVanozia&7] &cIl doit avoir au moin 1 Soldat Allemand !"
- else if {temp.AL} < 1800:
- send "&7[&aVanozia&7] &cIl y'a eu dêja eu une attaque il y'a moin de 30 Minutes !"
- else if {temp.AL} >= 1800:
- set {attaque.AL} to "%player%"
- wait 1 tick
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
- send "&e5/100"
- wait 4 seconds
- if {attaque.AL} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
- send "&e8/100"
- wait 4 seconds
- if {attaque.AL} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
- send "&e12/100"
- wait 4 seconds
- if {attaque.AL} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
- send "&e16/100"
- wait 4 seconds
- if {attaque.AL} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
- send "&e20/100"
- wait 4 seconds
- if {attaque.AL} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
- send "&e26/100"
- wait 4 seconds
- if {attaque.AL} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
- send "&e35/100"
- wait 4 seconds
- if {attaque.AL} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
- send "&e45/100"
- wait 4 seconds
- if {attaque.AL} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer (Moitié)!"
- send "&e55/100"
- wait 4 seconds
- if {attaque.AL} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
- send "&e60/100"
- wait 4 seconds
- if {attaque.AL} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
- send "&e65/100"
- wait 4 seconds
- if {attaque.AL} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
- send "&e75/100"
- wait 6 seconds
- if {attaque.AL} is set:
- broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
- send "&e85/100"
- wait 10 seconds
- if {attaque.AL} is set:
- broadcast "&8)&7&m----------&8( &aVanozia &8)&7&m----------&8("
- broadcast " "
- broadcast " &aFIN DE PARTIE"
- broadcast "&aBravo aux soldats: &bFrançais"
- broadcast " "
- broadcast "&8)&7&m----------&8( &aVanozia &8)&7&m----------&8("
- loop all players:
- if {metier.%loop-player%} is "&aSoldat (FR)":
- execute console command "/addxp %loop-player% 450"
- execute console command "/eco give %loop-player% 1500"
- message "&e+ &b1500 &eDollars" to loop-player
- clear the loop-player's inventory
- teleport loop-player to {spawn}
- set {metier.%loop-player%} to "&cAucun"
- delete {attaque.FR}
- delete {attaque.AL}
- set {point.FR} to 0
- set {point.AL} to 0
- else if {metier.%loop-player%} is "&aSoldat (AL)":
- clear the loop-player's inventory
- teleport loop-player to {spawn}
- set {metier.%loop-player%} to "&cAucun"
- set {point.FR} to 0
- set {point.AL} to 0
- set {temp.AL} to 0
- else if {sous-lieutenantfr.%player%} is false:
- send "&7[&aVanozia&7] &cTu dois avoir au moin acheté le grade Sous-Lieutenant !"
- on break:
- delete {gagnefr.%location of block%}
- delete {gagneal.%location of block%}
- on any move:
- if {attaque.AL} is set:
- if {attaque.AL} is "%player%":
- set {blockyal} to y coordinate of player
- set {blockzal} to z coordinate of player
- set {blockxal} to x coordinate of player
- remove 1 from {blockyal}
- set {blocktal} to position {blockxal}, {blockyal}, {blockzal} in world
- if block at {blocktal} is not 159:14:
- remove 1 from {blockyal}
- set {blocktal} to position {blockxal}, {blockyal}, {blockzal} in world
- if block at {blocktal} is not 159:14:
- delete {attaque.AL}
- send "&7[&aVanozia&7] &cAttaque Annulé !"
- stop
- if {attaque.FR} is set:
- if {attaque.FR} is "%player%":
- set {blockyfr} to y coordinate of player
- set {blockzfr} to z coordinate of player
- set {blockxfr} to x coordinate of player
- remove 1 from {blockyfr}
- set {blocktfr} to position {blockxfr}, {blockyfr}, {blockzfr} in world
- if block at {blocktfr} is not 159:14:
- remove 1 from {blockyfr}
- set {blocktfr} to position {blockxfr}, {blockyfr}, {blockzfr} in world
- if block at {blocktfr} is not 159:14:
- delete {attaque.FR}
- send "&7[&aVanozia&7] &cAttaque Annulé !"
- stop
- command /setspawnm [<text>] [<text>]:
- permission: vanozia.staff
- permission message: &7[&aVanozia&7] &cTu n'as pas la permission !
- trigger:
- if arg 1 is "citoyen":
- if arg 2 is "FR":
- set {spawn.citoyen.FR} to location of player
- else:
- set {spawn.citoyen.AL} to location of player
- if arg 1 is "soldat":
- if arg 2 is "FR":
- set {spawn.soldat.FR} to location of player
- else:
- set {spawn.soldat.AL} to location of player
- if arg 1 is "vendeurd":
- if arg 2 is "FR":
- set {spawn.vendeur.FR} to location of player
- else:
- set {spawn.vendeur.AL} to location of player
- command /spawn:
- trigger:
- if player has permission "vanozia.staff":
- send "&7[&aVanozia&7] &2Teleportation au spawn reussi !"
- teleport player to {spawn}
- else:
- send "&7[&aVanozia&7] &cTu n'es pas membre du staff!"
- on death:
- if {metier.%victim%} is "Vendeur d'arme":
- wait 2 tick
- set {metier.%victim%} to "&cAucun"
- if {type.%victim%} is "FR":
- set {armfr} to 0
- broadcast "&7[&aVanozia&7] &cLe vendeur d'arme Français est mort !"
- else:
- set {armal} to 0
- broadcast "&7[&aVanozia&7] &cLe vendeur d'arme Allemand est mort !"
- on death:
- set {emplace.%player%} to location of victim
- command /§recrueal:
- trigger:
- if {recrueal.%player%} is false:
- if player's money >= 1000:
- execute console command "/eco take %player% 1000"
- set {recrueal.%player%} to true
- send "&7[&aVanozia&7] &2Recrue acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6372 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- set {ranksoldat.%player%} to "&aRecrue"
- command /§caporalal:
- trigger:
- if {caporalal.%player%} is false:
- if player's money >= 1500:
- execute console command "/eco take %player% 1500"
- set {caporalal.%player%} to true
- send "&7[&aVanozia&7] &2Caporal acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6372 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5486 named "&aLuger P08" to player
- give 20 5405 named "&aMunition" to player
- give 20 5405 named "&aMunition" to player
- give 160 5331 named "&aBullet" to player
- give 160 5331 named "&aBullet" to player
- give 160 5331 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aCaporal"
- command /§caporal-chefal:
- trigger:
- if {caporal-chefal.%player%} is false:
- if player's money >= 2500:
- execute console command "/eco take %player% 2500"
- set {caporal-chefal.%player%} to true
- send "&7[&aVanozia&7] &2Caporal-chef acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6372 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5485 named "&aWebley mk VI" to player
- give 160 5336 named "&aBullet" to player
- give 160 5336 named "&aBullet" to player
- give 160 5336 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aCaporal-Chef"
- command /§sergental:
- trigger:
- if {sergental.%player%} is false:
- if player's money >= 3500:
- execute console command "/eco take %player% 3500"
- set {sergental.%player%} to true
- send "&7[&aVanozia&7] &2Sergent acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- set helmet slot of player to a 6372 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- give 1 5484 named "&aTec-9" to player
- give 20 5406 named "&aMunition" to player
- give 160 5342 named "&aBullet" to player
- give 160 5342 named "&aBullet" to player
- give 160 5342 named "&aBullet" to player
- give 160 5342 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aSergent"
- command /§sergent-chefal:
- trigger:
- if {sergent-chefal.%player%} is false:
- if player's money >= 5000:
- execute console command "/eco take %player% 5000"
- set {sergent-chefal.%player%} to true
- send "&7[&aVanozia&7] &2Sergent-chef acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6195 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5519 named "&aMP-18" to player
- give 8 5373 named "&aMunition" to player
- give 160 5352 named "&aBullet" to player
- give 160 5352 named "&aBullet" to player
- give 160 5352 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aSergent-Chef"
- command /§adjudantal:
- trigger:
- if {adjudantal.%player%} is false:
- if player's money >= 7000:
- execute console command "/eco take %player% 7000"
- set {adjudantal.%player%} to true
- send "&7[&aVanozia&7] &2Adjudant acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6195 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5519 named "&aMP-18" to player
- give 8 5373 named "&aMunition" to player
- give 160 5352 named "&aBullet" to player
- give 160 5352 named "&aBullet" to player
- give 160 5352 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aAdjudant"
- command /§adjudant-chefal:
- trigger:
- if {adjudant-chefal.%player%} is false:
- if player's money >= 10000:
- execute console command "/eco take %player% 10000"
- set {adjudant-chefal.%player%} to true
- send "&7[&aVanozia&7] &2Adjudant-chef acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6087 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aAdjudant-Chef"
- command /§aspirantal:
- trigger:
- if {aspirantal.%player%} is false:
- if player's money >= 15000:
- execute console command "/eco take %player% 15000"
- set {aspirantal.%player%} to true
- send "&7[&aVanozia&7] &2Aspirant acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6087 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aAspirant"
- command /§sous-lieutenantal:
- trigger:
- if {sous-lieutenantal.%player%} is false:
- if player's money >= 20000:
- execute console command "/eco take %player% 20000"
- set {sous-lieutenantal.%player%} to true
- send "&7[&aVanozia&7] &2Sous-Lieutenant acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6429 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aSous-Lieutenant"
- command /§lieutenantal:
- trigger:
- if {lieutenantal.%player%} is false:
- if player's money >= 25000:
- execute console command "/eco take %player% 25000"
- set {lieutenantal.%player%} to true
- send "&7[&aVanozia&7] &2Lieutenant acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6429 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aLieutenant"
- command /§capitaineal:
- trigger:
- if {capitaineal.%player%} is false:
- if player's money >= 30000:
- execute console command "/eco take %player% 30000"
- set {capitaineal.%player%} to true
- send "&7[&aVanozia&7] &2Capitaine acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6076 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5515 named "&aMP-41" to player
- give 6 5417 named "&aMunition" to player
- give 160 5342 named "&aBullet" to player
- give 160 5342 named "&aBullet" to player
- give 160 5342 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aCapitaine"
- command /§commandantal:
- trigger:
- if {commandantal.%player%} is false:
- if player's money >= 35000:
- execute console command "/eco take %player% 35000"
- set {commandantal.%player%} to true
- send "&7[&aVanozia&7] &2Commandant acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6076 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5552 named "&aGewehr" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aCommandant"
- command /§lieutenant-colonnelal:
- trigger:
- if {lieutenant-colonnelal.%player%} is false:
- if player's money >= 45000:
- execute console command "/eco take %player% 45000"
- set {lieutenant-colonnelal.%player%} to true
- send "&7[&aVanozia&7] &2Lieutenant-Colonnel acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6346 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5514 named "&aMP-40" to player
- give 10 5417 named "&aMunition" to player
- give 160 5342 named "&aBullet" to player
- give 160 5342 named "&aBullet" to player
- give 160 5342 named "&aBullet" to player
- give 1 5552 named "&aGewehr" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aLieutenant-Colonnel"
- command /§colonelal:
- trigger:
- if {Colonelal.%player%} is false:
- if player's money >= 55000:
- execute console command "/eco take %player% 55000"
- set {Colonelal.%player%} to true
- send "&7[&aVanozia&7] &2Colonel acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6346 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 1 5552 named "&aGewehr" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aColonel"
- command /§gdbal:
- trigger:
- if {gdbal.%player%} is false:
- if player's money >= 70000:
- execute console command "/eco take %player% 70000"
- set {gdbal.%player%} to true
- send "&7[&aVanozia&7] &2Général de brigade acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 5989 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 1 5552 named "&aGewehr" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aGDB"
- command /§gddal:
- trigger:
- if {gddal.%player%} is false:
- if player's money >= 80000:
- execute console command "/eco take %player% 80000"
- set {gddal.%player%} to true
- send "&7[&aVanozia&7] &2Général de division acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 5989 named "&aEquipement"
- set chestplate slot of player to a named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 1 5552 named "&aGewehr" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aGDD"
- command /§gdcal:
- trigger:
- if {gdcal.%player%} is false:
- if player's money >= 80000:
- execute console command "/eco take %player% 80000"
- set {gdcal.%player%} to true
- send "&7[&aVanozia&7] &2Général de corps d'armée acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 5989 named "&aEquipement"
- set chestplate slot of player to a 5976 named "&aEquipement"
- set leggings slot of player to a 6185 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 1 5552 named "&aGewehr" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aGDC"
- command /§gdaal:
- trigger:
- if {gdaal.%player%} is false:
- if player's money >= 1000000:
- execute console command "/eco take %player% 1000000"
- set {gdaal.%player%} to true
- send "&7[&aVanozia&7] &2Général d'armée acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- if {level.%player%} >= 60:
- else:
- send "&7[&aVanozia&7] &cLevel 60 Requis!"
- stop
- loop all players:
- if {ranksoldat.%loop-player%} contain "&aGDA":
- if {campss.%loop-player%} = {campss.%player%}:
- send "&7[&aVanozia&7] &cIl y'a dêja un General D'armée!"
- stop
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6074 named "&aEquipement"
- set chestplate slot of player to a 6288 named "&aEquipement"
- set leggings slot of player to a 6309 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 10 5574 named "&aGrenade" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 1 5552 named "&aGewehr" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- give 160 5334 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aGDA"
- command /§recruefr:
- trigger:
- if {recruefr.%player%} is false:
- if player's money >= 1000:
- execute console command "/eco take %player% 1000"
- set {recruefr.%player%} to true
- send "&7[&aVanozia&7] &2Recrue acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6372 named "&aEquipement"
- set chestplate slot of player to a 6438 named "&aEquipement"
- set leggings slot of player to a 6350 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- set {ranksoldat.%player%} to "&aRecrue"
- command /§caporalfr:
- trigger:
- if {caporalfr.%player%} is false:
- if player's money >= 1500:
- execute console command "/eco take %player% 1500"
- set {caporalfr.%player%} to true
- send "&7[&aVanozia&7] &2Caporal acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6372 named "&aEquipement"
- set chestplate slot of player to a 6423 named "&aEquipement"
- set leggings slot of player to a 6350 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5486 named "&aLuger P08" to player
- give 20 5405 named "&aMunition" to player
- give 160 5331 named "&aBullet" to player
- give 160 5331 named "&aBullet" to player
- give 160 5331 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aCaporal"
- command /§caporal-cheffr:
- trigger:
- if {caporal-cheffr.%player%} is false:
- if player's money >= 2500:
- execute console command "/eco take %player% 2500"
- set {caporal-cheffr.%player%} to true
- send "&7[&aVanozia&7] &2Caporal-chef acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6372 named "&aEquipement"
- set chestplate slot of player to a 6438 named "&aEquipement"
- set leggings slot of player to a 6350 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5485 named "&aWebley mk VI" to player
- give 160 5336 named "&aBullet" to player
- give 160 5336 named "&aBullet" to player
- give 160 5336 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aCaporal-Chef"
- command /§sergentfr:
- trigger:
- if {sergentfr.%player%} is false:
- if player's money >= 3500:
- execute console command "/eco take %player% 3500"
- set {sergentfr.%player%} to true
- send "&7[&aVanozia&7] &2Sergent acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set leggings slot of player to a 6350 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- set helmet slot of player to a 6372 named "&aEquipement"
- set chestplate slot of player to a 6423 named "&aEquipement"
- give 1 5484 named "&aTec-9" to player
- give 20 5406 named "&aMunition" to player
- give 160 5342 named "&aBullet" to player
- give 160 5342 named "&aBullet" to player
- give 160 5342 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aSergent"
- command /§sergent-cheffr:
- trigger:
- if {sergent-cheffr.%player%} is false:
- if player's money >= 5000:
- execute console command "/eco take %player% 5000"
- set {sergent-cheffr.%player%} to true
- send "&7[&aVanozia&7] &2Sergent-chef acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6195 named "&aEquipement"
- set chestplate slot of player to a 6438 named "&aEquipement"
- set leggings slot of player to a 6350 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5519 named "&aMP-18" to player
- give 8 5373 named "&aMunition" to player
- give 160 5352 named "&aBullet" to player
- give 160 5352 named "&aBullet" to player
- give 160 5352 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aSergent-Chef"
- command /§adjudantfr:
- trigger:
- if {adjudantfr.%player%} is false:
- if player's money >= 7000:
- execute console command "/eco take %player% 7000"
- set {adjudantfr.%player%} to true
- send "&7[&aVanozia&7] &2Adjudant acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6195 named "&aEquipement"
- set chestplate slot of player to a 6423 named "&aEquipement"
- set leggings slot of player to a 6350 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5519 named "&aMP-18" to player
- give 8 5373 named "&aMunition" to player
- give 160 5352 named "&aBullet" to player
- give 160 5352 named "&aBullet" to player
- give 160 5352 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aAdjudant"
- command /§adjudant-cheffr:
- trigger:
- if {adjudant-cheffr.%player%} is false:
- if player's money >= 10000:
- execute console command "/eco take %player% 10000"
- set {adjudant-cheffr.%player%} to true
- send "&7[&aVanozia&7] &2Adjudant-chef acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6087 named "&aEquipement"
- set chestplate slot of player to a 6438 named "&aEquipement"
- set leggings slot of player to a 6350 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aAdjudant-Chef"
- command /§aspirantfr:
- trigger:
- if {aspirantfr.%player%} is false:
- if player's money >= 15000:
- execute console command "/eco take %player% 15000"
- set {aspirantfr.%player%} to true
- send "&7[&aVanozia&7] &2Aspirant acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6087 named "&aEquipement"
- set chestplate slot of player to a 6423 named "&aEquipement"
- set leggings slot of player to a 6350 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aAspirant"
- command /§sous-lieutenantfr:
- trigger:
- if {sous-lieutenantfr.%player%} is false:
- if player's money >= 20000:
- execute console command "/eco take %player% 20000"
- set {sous-lieutenantfr.%player%} to true
- send "&7[&aVanozia&7] &2Sous-Lieutenant acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6429 named "&aEquipement"
- set chestplate slot of player to a 6438 named "&aEquipement"
- set leggings slot of player to a 6350 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aSous-Lieutenant"
- command /§lieutenantfr:
- trigger:
- if {lieutenantfr.%player%} is false:
- if player's money >= 25000:
- execute console command "/eco take %player% 25000"
- set {lieutenantfr.%player%} to true
- send "&7[&aVanozia&7] &2Lieutenant acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6429 named "&aEquipement"
- set chestplate slot of player to a 6423 named "&aEquipement"
- set leggings slot of player to a 6350 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5544 named "&aM1 Garand" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- give 160 5339 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aLieutenant"
- command /§capitainefr:
- trigger:
- if {capitainefr.%player%} is false:
- if player's money >= 30000:
- execute console command "/eco take %player% 30000"
- set {capitainefr.%player%} to true
- send "&7[&aVanozia&7] &2Capitaine acheté avec succès !"
- else:
- send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
- else:
- clear the player's inventory
- wait 2 tick
- set helmet slot of player to a 6076 named "&aEquipement"
- set chestplate slot of player to a 6438 named "&aEquipement"
- set leggings slot of player to a 6350 named "&aEquipement"
- set boots slot of player to a 6412 named "&aEquipement"
- give 25 bread named "&aPain" to player
- give 1 5578 named "&aCouteau" to player
- give 1 5515 named "&aMP-41" to player
- give 6 5417 named "&aMunition" to player
- give 160 5342 named "&aBullet" to player
- give 160 5342 named "&aBullet" to player
- give 160 5342 named "&aBullet" to player
- set {ranksoldat.%player%} to "&aCapitaine"
Advertisement
Add Comment
Please, Sign In to add comment