superrtutur

Untitled

Dec 12th, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.67 KB | None | 0 0
  1. on npc right click:
  2. if citizen is 21:
  3. if {metier.%player%} is "&aSoldat (FR)":
  4. send "&7[&aVanozia&7] &cTu n'es pas de mon pays !"
  5. else if {metier.%player%} is not "&aSoldat (AL)":
  6. send "&7[&aVanozia&7] &cTu n'es pas soldat !"
  7. else if {metier.%player%} is "&aSoldat (AL)":
  8. if player has permission "vanozia.vip":
  9. open chest with 1 rows named "&aVehicule" to player
  10. wait 2 tick
  11. 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"]
  12. 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"]
  13. else:
  14. send "&7[&aVanozia&7] &cTu n'es pas &eVIP &c!"
  15.  
  16. command /§avional:
  17. trigger:
  18. if {level.%player%} >= 25:
  19. else:
  20. send "&7[&aVanozia&7] &cTu doit avoir le Level 25 Au moin!"
  21. stop
  22. if player's money >= 2150:
  23. execute console command "/eco take %player% 2150"
  24. send "&7[&aVanozia&7] &2Tu as acheté l'avion !"
  25. give 1 5032 named "&aAvion" to player
  26. else:
  27. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  28.  
  29.  
  30. command /§tankal:
  31. trigger:
  32. if {level.%player%} >= 25:
  33. else:
  34. send "&7[&aVanozia&7] &cTu doit avoir le Level 25 Au moin!"
  35. stop
  36. if player's money >= 4150:
  37. execute console command "/eco take %player% 4150"
  38. send "&7[&aVanozia&7] &2Tu as acheté le tank !"
  39. give 1 5824 named "&aTank" to player
  40. else:
  41. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  42.  
  43. on npc right click:
  44. if citizen is 22:
  45. if {metier.%player%} is "&aSoldat (AL)":
  46. send "&7[&aVanozia&7] &cTu n'es pas de mon pays !"
  47. else if {metier.%player%} is not "&aSoldat (FR)":
  48. send "&7[&aVanozia&7] &cTu n'es pas soldat !"
  49. else if {metier.%player%} is "&aSoldat (FR)":
  50. open chest with 1 rows named "&aVehicule" to player
  51. wait 2 tick
  52. format slot 2 of player with 5574 named "&aGrenade x5" with lore "&cCout: &b50 Dollars" to close then run [make player execute command "/§gren"]
  53. 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"]
  54. 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"]
  55. 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"]
  56. 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"]
  57.  
  58. command /§bf:
  59. trigger:
  60. if player's money >= 5:
  61. execute console command "/eco take %player% 5"
  62. send "&7[&aVanozia&7] &2Tu as acheté un Baton de Fouille !"
  63. give 1 stick named "&aBaton de Fouille" to player
  64. else:
  65. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  66.  
  67. on npc right click:
  68. if citizen is 23:
  69. if {metier.%player%} is "&aSoldat (FR)":
  70. send "&7[&aVanozia&7] &cTu n'es pas de mon pays !"
  71. else if {metier.%player%} is not "&aSoldat (AL)":
  72. send "&7[&aVanozia&7] &cTu n'es pas soldat !"
  73. else if {metier.%player%} is "&aSoldat (AL)":
  74. open chest with 1 rows named "&aVehicule" to player
  75. wait 2 tick
  76. format slot 2 of player with 5574 named "&aGrenade x5" with lore "&cCout: &b50 Dollars" to close then run [make player execute command "/§gren"]
  77. 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"]
  78. 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"]
  79. 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"]
  80. 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"]
  81.  
  82. command /§lgm:
  83. trigger:
  84. if player has permission "vanozia.vip":
  85. if player's money >= 25:
  86. execute console command "/eco take %player% 25"
  87. send "&7[&aVanozia&7] &2Tu as acheté 5x Munition Grenade !"
  88. give 5 5329 named "&aMunition Grenade" to player
  89. else:
  90. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  91. else:
  92. send "&7[&aVanozia&7] &cTu n'est pas &eVIP &c!"
  93.  
  94. command /§desactivate:
  95. trigger:
  96. send "&7[&aVanozia&7] &cCe produit est desactivée."
  97.  
  98. command /§lg:
  99. trigger:
  100. if player has permission "vanozia.vip":
  101. if player's money >= 1000:
  102. execute console command "/eco take %player% 1000"
  103. send "&7[&aVanozia&7] &2Tu as acheté 1x Lance Grenade !"
  104. give 1 5562 named "&aLance Grenade" to player
  105. else:
  106. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  107. else:
  108. send "&7[&aVanozia&7] &cTu n'est pas &eVIP &c!"
  109.  
  110. command /§smoke:
  111. trigger:
  112. if player's money >= 75:
  113. execute console command "/eco take %player% 75"
  114. send "&7[&aVanozia&7] &2Tu as acheté 5x Smoke Grenade !"
  115. give 5 5576 named "&aSmoke Grenade" to player
  116. else:
  117. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  118.  
  119.  
  120. command /§gren:
  121. trigger:
  122. if player's money >= 50:
  123. execute console command "/eco take %player% 50"
  124. send "&7[&aVanozia&7] &2Tu as acheté 5x Grenade !"
  125. give 5 5574 named "&aGrenade" to player
  126. else:
  127. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  128.  
  129.  
  130.  
  131.  
  132. on npc right click:
  133. if citizen is 20:
  134. if {metier.%player%} is "&aSoldat (AL)":
  135. send "&7[&aVanozia&7] &cTu n'es pas de mon pays !"
  136. else if {metier.%player%} is not "&aSoldat (FR)":
  137. send "&7[&aVanozia&7] &cTu n'es pas soldat !"
  138. else if {metier.%player%} is "&aSoldat (FR)":
  139. if player has permission "vanozia.vip":
  140. open chest with 1 rows named "&aVehicule" to player
  141. wait 2 tick
  142. 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"]
  143. 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"]
  144. else:
  145. send "&7[&aVanozia&7] &cTu n'es pas &eVIP &c!"
  146.  
  147. command /§tank:
  148. trigger:
  149. if {level.%player%} >= 25:
  150. else:
  151. send "&7[&aVanozia&7] &cTu doit avoir le Level 25 Au moin!"
  152. stop
  153. if player's money >= 4150:
  154. execute console command "/eco take %player% 4150"
  155. send "&7[&aVanozia&7] &2Tu as acheté le tank !"
  156. give 1 5819 named "&aTank" to player
  157. else:
  158. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  159.  
  160.  
  161.  
  162.  
  163.  
  164. command /§avion:
  165. trigger:
  166. if {level.%player%} >= 25:
  167. else:
  168. send "&7[&aVanozia&7] &cTu doit avoir le Level 25 Au moin!"
  169. stop
  170. if player's money >= 2150:
  171. execute console command "/eco take %player% 2150"
  172. send "&7[&aVanozia&7] &2Tu as acheté l'avion !"
  173. give 1 5032 named "&aAvion" to player
  174. else:
  175. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182. command /setspawn:
  183. permission: vanozia.staff
  184. permission message: &7[&aVanozia&7] &cTu n'as pas la permission !
  185. trigger:
  186. set {spawn} to location of player
  187. send "&7[&aVanozia&7] &2Tu as bien mis le spawn!"
  188.  
  189. command /vendeur:
  190. permission: vanozia.staff
  191. permission message: &7[&aVanozia&7] &cTu n'as pas la permission !
  192. trigger:
  193. set {armfr} to 0
  194. set {armal} to 0
  195.  
  196. command /gagne:
  197. permission: vanozia.staff
  198. permission message: &7[&aVanozia&7] &cTu n'as pas la permission !
  199. trigger:
  200. give 1 732:13 named "&aFrançais" to player
  201. give 1 732:13 named "&aAllemand" to player
  202.  
  203. on place 732:13:
  204. if name of tool is "&aFrançais":
  205. set {gagnefr.%location of block%} to true
  206. else if name of tool is "&aAllemand":
  207. set {gagneal.%location of block%} to true
  208.  
  209.  
  210. on right click on 732:13:
  211. if {gagnefr.%location of block%} is set:
  212. if {metier.%player%} is "&aSoldat (FR)":
  213. send "&7[&aVanozia&7] &cTu ne peux pas attaquer ton propre Village !"
  214. else if {metier.%player%} is not "&aSoldat (AL)":
  215. send "&7[&aVanozia&7] &cTu ne peux pas attaquer de Village !"
  216. else if {metier.%player%} is "&aSoldat (AL)":
  217. if {attaque.FR} is set:
  218. send "&7[&aVanozia&7] &cToi ou un membre de ton equipe est dêja en train d'attaquer !"
  219. else if {sous-lieutenantal.%player%} is false:
  220. send "&7[&aVanozia&7] &cTu dois avoir au moin acheté le grade Sous-Lieutenant !"
  221.  
  222.  
  223. else if {sous-lieutenantal.%player%} is true:
  224. set {verif} to false
  225. loop all players:
  226. if {metier.%loop-player%} is "&aSoldat (FR)":
  227. set {verif} to true
  228. if {verif} is false:
  229. send "&7[&aVanozia&7] &cIl doit avoir au moin 1 Soldat Français !"
  230. else if {temp.FR} < 1800:
  231. send "&7[&aVanozia&7] &cIl y'a eu dêja eu une attaque il y'a moin de 30 Minutes !"
  232. else if {temp.FR} >= 1800:
  233. set {attaque.FR} to "%player%"
  234. wait 1 tick
  235. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
  236. send "&e5/100"
  237. wait 4 seconds
  238. if {attaque.FR} is set:
  239. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
  240. send "&e8/100"
  241. wait 4 seconds
  242. if {attaque.FR} is set:
  243. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
  244. send "&e12/100"
  245. wait 4 seconds
  246. if {attaque.FR} is set:
  247. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
  248. send "&e16/100"
  249. wait 4 seconds
  250. if {attaque.FR} is set:
  251. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
  252. send "&e20/100"
  253. wait 4 seconds
  254. if {attaque.FR} is set:
  255. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
  256. send "&e26/100"
  257. wait 4 seconds
  258. if {attaque.FR} is set:
  259. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
  260. send "&e35/100"
  261. wait 4 seconds
  262. if {attaque.FR} is set:
  263. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
  264. send "&e45/100"
  265. wait 4 seconds
  266. if {attaque.FR} is set:
  267. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer (Moitié)!"
  268. send "&e55/100"
  269. wait 4 seconds
  270. if {attaque.FR} is set:
  271. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
  272. send "&e60/100"
  273. wait 4 seconds
  274. if {attaque.FR} is set:
  275. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
  276. send "&e65/100"
  277. wait 4 seconds
  278. if {attaque.FR} is set:
  279. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
  280. send "&e75/100"
  281. wait 6 seconds
  282. if {attaque.FR} is set:
  283. broadcast "&7[&aVanozia&7] &cLe village &bFrançais &cse fait attaquer !"
  284. send "&e85/100"
  285. wait 10 seconds
  286. if {attaque.FR} is set:
  287. broadcast "&8)&7&m----------&8( &aVanozia &8)&7&m----------&8("
  288. broadcast " "
  289. broadcast " &aFIN DE PARTIE"
  290. broadcast "&aBravo aux soldats: &bAllemand"
  291. broadcast " "
  292. broadcast "&8)&7&m----------&8( &aVanozia &8)&7&m----------&8("
  293. loop all players:
  294. if {metier.%loop-player%} is "&aSoldat (AL)":
  295. execute console command "/addxp %loop-player% 450"
  296. execute console command "/eco give %loop-player% 1500"
  297. message "&e+ &b1500 &eDollars" to loop-player
  298. clear the loop-player's inventory
  299. teleport loop-player to {spawn}
  300. set {metier.%loop-player%} to "&cAucun"
  301. delete {attaque.FR}
  302. delete {attaque.AL}
  303. set {point.FR} to 0
  304. set {point.AL} to 0
  305. else if {metier.%loop-player%} is "&aSoldat (FR)":
  306. clear the loop-player's inventory
  307. teleport loop-player to {spawn}
  308. set {metier.%loop-player%} to "&cAucun"
  309. set {point.FR} to 0
  310. set {point.AL} to 0
  311. set {temp.FR} to 0
  312.  
  313. every 1 seconds:
  314. set {temp.FR} to {temp.FR} + 1
  315. set {temp.AL} to {temp.AL} + 1
  316.  
  317.  
  318. on right click on 732:13:
  319. if {gagneal.%location of block%} is set:
  320. if {metier.%player%} is "&aSoldat (AL)":
  321. send "&7[&aVanozia&7] &cTu ne peux pas attaquer ton propre Village !"
  322. else if {metier.%player%} is not "&aSoldat (FR)":
  323. send "&7[&aVanozia&7] &cTu ne peux pas attaquer de Village !"
  324. else if {metier.%player%} is "&aSoldat (FR)":
  325. if {attaque.AL} is set:
  326. send "&7[&aVanozia&7] &cToi ou un membre de ton equipe est dêja en train d'attaquer !"
  327. else if {sous-lieutenantfr.%player%} is true:
  328. set {verif} to false
  329. loop all players:
  330. if {metier.%loop-player%} is "&aSoldat (AL)":
  331. set {verif} to true
  332. if {verif} is false:
  333. send "&7[&aVanozia&7] &cIl doit avoir au moin 1 Soldat Allemand !"
  334. else if {temp.AL} < 1800:
  335. send "&7[&aVanozia&7] &cIl y'a eu dêja eu une attaque il y'a moin de 30 Minutes !"
  336. else if {temp.AL} >= 1800:
  337. set {attaque.AL} to "%player%"
  338. wait 1 tick
  339. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
  340. send "&e5/100"
  341. wait 4 seconds
  342. if {attaque.AL} is set:
  343. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
  344. send "&e8/100"
  345. wait 4 seconds
  346. if {attaque.AL} is set:
  347. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
  348. send "&e12/100"
  349. wait 4 seconds
  350. if {attaque.AL} is set:
  351. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
  352. send "&e16/100"
  353. wait 4 seconds
  354. if {attaque.AL} is set:
  355. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
  356. send "&e20/100"
  357. wait 4 seconds
  358. if {attaque.AL} is set:
  359. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
  360. send "&e26/100"
  361. wait 4 seconds
  362. if {attaque.AL} is set:
  363. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
  364. send "&e35/100"
  365. wait 4 seconds
  366. if {attaque.AL} is set:
  367. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
  368. send "&e45/100"
  369. wait 4 seconds
  370. if {attaque.AL} is set:
  371. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer (Moitié)!"
  372. send "&e55/100"
  373. wait 4 seconds
  374. if {attaque.AL} is set:
  375. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
  376. send "&e60/100"
  377. wait 4 seconds
  378. if {attaque.AL} is set:
  379. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
  380. send "&e65/100"
  381. wait 4 seconds
  382. if {attaque.AL} is set:
  383. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
  384. send "&e75/100"
  385. wait 6 seconds
  386. if {attaque.AL} is set:
  387. broadcast "&7[&aVanozia&7] &cLe village &bAllemand &cse fait attaquer !"
  388. send "&e85/100"
  389. wait 10 seconds
  390. if {attaque.AL} is set:
  391. broadcast "&8)&7&m----------&8( &aVanozia &8)&7&m----------&8("
  392. broadcast " "
  393. broadcast " &aFIN DE PARTIE"
  394. broadcast "&aBravo aux soldats: &bFrançais"
  395. broadcast " "
  396. broadcast "&8)&7&m----------&8( &aVanozia &8)&7&m----------&8("
  397. loop all players:
  398. if {metier.%loop-player%} is "&aSoldat (FR)":
  399. execute console command "/addxp %loop-player% 450"
  400. execute console command "/eco give %loop-player% 1500"
  401. message "&e+ &b1500 &eDollars" to loop-player
  402. clear the loop-player's inventory
  403. teleport loop-player to {spawn}
  404. set {metier.%loop-player%} to "&cAucun"
  405. delete {attaque.FR}
  406. delete {attaque.AL}
  407. set {point.FR} to 0
  408. set {point.AL} to 0
  409. else if {metier.%loop-player%} is "&aSoldat (AL)":
  410. clear the loop-player's inventory
  411. teleport loop-player to {spawn}
  412. set {metier.%loop-player%} to "&cAucun"
  413. set {point.FR} to 0
  414. set {point.AL} to 0
  415. set {temp.AL} to 0
  416.  
  417.  
  418. else if {sous-lieutenantfr.%player%} is false:
  419. send "&7[&aVanozia&7] &cTu dois avoir au moin acheté le grade Sous-Lieutenant !"
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430. on break:
  431. delete {gagnefr.%location of block%}
  432. delete {gagneal.%location of block%}
  433.  
  434.  
  435.  
  436. on any move:
  437. if {attaque.AL} is set:
  438. if {attaque.AL} is "%player%":
  439. set {blockyal} to y coordinate of player
  440. set {blockzal} to z coordinate of player
  441. set {blockxal} to x coordinate of player
  442. remove 1 from {blockyal}
  443. set {blocktal} to position {blockxal}, {blockyal}, {blockzal} in world
  444. if block at {blocktal} is not 159:14:
  445. remove 1 from {blockyal}
  446. set {blocktal} to position {blockxal}, {blockyal}, {blockzal} in world
  447. if block at {blocktal} is not 159:14:
  448. delete {attaque.AL}
  449. send "&7[&aVanozia&7] &cAttaque Annulé !"
  450. stop
  451. if {attaque.FR} is set:
  452. if {attaque.FR} is "%player%":
  453. set {blockyfr} to y coordinate of player
  454. set {blockzfr} to z coordinate of player
  455. set {blockxfr} to x coordinate of player
  456. remove 1 from {blockyfr}
  457. set {blocktfr} to position {blockxfr}, {blockyfr}, {blockzfr} in world
  458. if block at {blocktfr} is not 159:14:
  459. remove 1 from {blockyfr}
  460. set {blocktfr} to position {blockxfr}, {blockyfr}, {blockzfr} in world
  461. if block at {blocktfr} is not 159:14:
  462. delete {attaque.FR}
  463. send "&7[&aVanozia&7] &cAttaque Annulé !"
  464. stop
  465.  
  466.  
  467.  
  468. command /setspawnm [<text>] [<text>]:
  469. permission: vanozia.staff
  470. permission message: &7[&aVanozia&7] &cTu n'as pas la permission !
  471. trigger:
  472. if arg 1 is "citoyen":
  473. if arg 2 is "FR":
  474. set {spawn.citoyen.FR} to location of player
  475. else:
  476. set {spawn.citoyen.AL} to location of player
  477. if arg 1 is "soldat":
  478. if arg 2 is "FR":
  479. set {spawn.soldat.FR} to location of player
  480. else:
  481. set {spawn.soldat.AL} to location of player
  482. if arg 1 is "vendeurd":
  483. if arg 2 is "FR":
  484. set {spawn.vendeur.FR} to location of player
  485. else:
  486. set {spawn.vendeur.AL} to location of player
  487.  
  488.  
  489. command /spawn:
  490. trigger:
  491. if player has permission "vanozia.staff":
  492. send "&7[&aVanozia&7] &2Teleportation au spawn reussi !"
  493. teleport player to {spawn}
  494.  
  495. else:
  496. send "&7[&aVanozia&7] &cTu n'es pas membre du staff!"
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505. on death:
  506. if {metier.%victim%} is "Vendeur d'arme":
  507. wait 2 tick
  508. set {metier.%victim%} to "&cAucun"
  509. if {type.%victim%} is "FR":
  510. set {armfr} to 0
  511. broadcast "&7[&aVanozia&7] &cLe vendeur d'arme Français est mort !"
  512. else:
  513. set {armal} to 0
  514. broadcast "&7[&aVanozia&7] &cLe vendeur d'arme Allemand est mort !"
  515.  
  516. on death:
  517. set {emplace.%player%} to location of victim
  518.  
  519.  
  520. command /§recrueal:
  521. trigger:
  522. if {recrueal.%player%} is false:
  523. if player's money >= 1000:
  524. execute console command "/eco take %player% 1000"
  525. set {recrueal.%player%} to true
  526. send "&7[&aVanozia&7] &2Recrue acheté avec succès !"
  527. else:
  528. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  529. else:
  530. clear the player's inventory
  531. wait 2 tick
  532. set helmet slot of player to a 6372 named "&aEquipement"
  533. set chestplate slot of player to a 5976 named "&aEquipement"
  534. set leggings slot of player to a 6185 named "&aEquipement"
  535. set boots slot of player to a 6412 named "&aEquipement"
  536. give 25 bread named "&aPain" to player
  537. give 1 5578 named "&aCouteau" to player
  538. set {ranksoldat.%player%} to "&aRecrue"
  539.  
  540.  
  541.  
  542. command /§caporalal:
  543. trigger:
  544. if {caporalal.%player%} is false:
  545. if player's money >= 1500:
  546. execute console command "/eco take %player% 1500"
  547. set {caporalal.%player%} to true
  548. send "&7[&aVanozia&7] &2Caporal acheté avec succès !"
  549. else:
  550. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  551. else:
  552. clear the player's inventory
  553. wait 2 tick
  554. set helmet slot of player to a 6372 named "&aEquipement"
  555. set chestplate slot of player to a 5976 named "&aEquipement"
  556. set leggings slot of player to a 6185 named "&aEquipement"
  557. set boots slot of player to a 6412 named "&aEquipement"
  558. give 25 bread named "&aPain" to player
  559. give 1 5578 named "&aCouteau" to player
  560. give 1 5486 named "&aLuger P08" to player
  561. give 20 5405 named "&aMunition" to player
  562. give 20 5405 named "&aMunition" to player
  563. give 160 5331 named "&aBullet" to player
  564. give 160 5331 named "&aBullet" to player
  565. give 160 5331 named "&aBullet" to player
  566. set {ranksoldat.%player%} to "&aCaporal"
  567.  
  568. command /§caporal-chefal:
  569. trigger:
  570. if {caporal-chefal.%player%} is false:
  571. if player's money >= 2500:
  572. execute console command "/eco take %player% 2500"
  573. set {caporal-chefal.%player%} to true
  574. send "&7[&aVanozia&7] &2Caporal-chef acheté avec succès !"
  575. else:
  576. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  577. else:
  578. clear the player's inventory
  579. wait 2 tick
  580. set helmet slot of player to a 6372 named "&aEquipement"
  581. set chestplate slot of player to a 5976 named "&aEquipement"
  582. set leggings slot of player to a 6185 named "&aEquipement"
  583. set boots slot of player to a 6412 named "&aEquipement"
  584. give 25 bread named "&aPain" to player
  585. give 1 5578 named "&aCouteau" to player
  586.  
  587. give 1 5485 named "&aWebley mk VI" to player
  588.  
  589. give 160 5336 named "&aBullet" to player
  590. give 160 5336 named "&aBullet" to player
  591. give 160 5336 named "&aBullet" to player
  592. set {ranksoldat.%player%} to "&aCaporal-Chef"
  593.  
  594.  
  595. command /§sergental:
  596. trigger:
  597. if {sergental.%player%} is false:
  598. if player's money >= 3500:
  599. execute console command "/eco take %player% 3500"
  600. set {sergental.%player%} to true
  601. send "&7[&aVanozia&7] &2Sergent acheté avec succès !"
  602. else:
  603. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  604. else:
  605. clear the player's inventory
  606. wait 2 tick
  607. set leggings slot of player to a 6185 named "&aEquipement"
  608. set boots slot of player to a 6412 named "&aEquipement"
  609. give 25 bread named "&aPain" to player
  610. give 1 5578 named "&aCouteau" to player
  611. set helmet slot of player to a 6372 named "&aEquipement"
  612. set chestplate slot of player to a 5976 named "&aEquipement"
  613. give 1 5484 named "&aTec-9" to player
  614. give 20 5406 named "&aMunition" to player
  615. give 160 5342 named "&aBullet" to player
  616. give 160 5342 named "&aBullet" to player
  617. give 160 5342 named "&aBullet" to player
  618. give 160 5342 named "&aBullet" to player
  619. set {ranksoldat.%player%} to "&aSergent"
  620.  
  621. command /§sergent-chefal:
  622. trigger:
  623. if {sergent-chefal.%player%} is false:
  624. if player's money >= 5000:
  625. execute console command "/eco take %player% 5000"
  626. set {sergent-chefal.%player%} to true
  627. send "&7[&aVanozia&7] &2Sergent-chef acheté avec succès !"
  628. else:
  629. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  630. else:
  631. clear the player's inventory
  632. wait 2 tick
  633. set helmet slot of player to a 6195 named "&aEquipement"
  634. set chestplate slot of player to a 5976 named "&aEquipement"
  635. set leggings slot of player to a 6185 named "&aEquipement"
  636. set boots slot of player to a 6412 named "&aEquipement"
  637. give 25 bread named "&aPain" to player
  638. give 1 5578 named "&aCouteau" to player
  639. give 1 5519 named "&aMP-18" to player
  640. give 8 5373 named "&aMunition" to player
  641. give 160 5352 named "&aBullet" to player
  642. give 160 5352 named "&aBullet" to player
  643. give 160 5352 named "&aBullet" to player
  644. set {ranksoldat.%player%} to "&aSergent-Chef"
  645.  
  646.  
  647.  
  648. command /§adjudantal:
  649. trigger:
  650. if {adjudantal.%player%} is false:
  651. if player's money >= 7000:
  652. execute console command "/eco take %player% 7000"
  653. set {adjudantal.%player%} to true
  654. send "&7[&aVanozia&7] &2Adjudant acheté avec succès !"
  655. else:
  656. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  657. else:
  658. clear the player's inventory
  659. wait 2 tick
  660. set helmet slot of player to a 6195 named "&aEquipement"
  661. set chestplate slot of player to a 5976 named "&aEquipement"
  662. set leggings slot of player to a 6185 named "&aEquipement"
  663. set boots slot of player to a 6412 named "&aEquipement"
  664. give 25 bread named "&aPain" to player
  665. give 1 5578 named "&aCouteau" to player
  666. give 1 5519 named "&aMP-18" to player
  667. give 8 5373 named "&aMunition" to player
  668. give 160 5352 named "&aBullet" to player
  669. give 160 5352 named "&aBullet" to player
  670. give 160 5352 named "&aBullet" to player
  671. set {ranksoldat.%player%} to "&aAdjudant"
  672.  
  673.  
  674. command /§adjudant-chefal:
  675. trigger:
  676. if {adjudant-chefal.%player%} is false:
  677. if player's money >= 10000:
  678. execute console command "/eco take %player% 10000"
  679. set {adjudant-chefal.%player%} to true
  680. send "&7[&aVanozia&7] &2Adjudant-chef acheté avec succès !"
  681. else:
  682. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  683. else:
  684. clear the player's inventory
  685. wait 2 tick
  686. set helmet slot of player to a 6087 named "&aEquipement"
  687. set chestplate slot of player to a 5976 named "&aEquipement"
  688. set leggings slot of player to a 6185 named "&aEquipement"
  689. set boots slot of player to a 6412 named "&aEquipement"
  690. give 25 bread named "&aPain" to player
  691. give 1 5578 named "&aCouteau" to player
  692. give 25 bread named "&aPain" to player
  693. give 1 5578 named "&aCouteau" to player
  694. give 1 5544 named "&aM1 Garand" to player
  695. give 160 5339 named "&aBullet" to player
  696. give 160 5339 named "&aBullet" to player
  697. give 160 5339 named "&aBullet" to player
  698. set {ranksoldat.%player%} to "&aAdjudant-Chef"
  699.  
  700.  
  701. command /§aspirantal:
  702. trigger:
  703. if {aspirantal.%player%} is false:
  704. if player's money >= 15000:
  705. execute console command "/eco take %player% 15000"
  706. set {aspirantal.%player%} to true
  707. send "&7[&aVanozia&7] &2Aspirant acheté avec succès !"
  708. else:
  709. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  710. else:
  711. clear the player's inventory
  712. wait 2 tick
  713. set helmet slot of player to a 6087 named "&aEquipement"
  714. set chestplate slot of player to a 5976 named "&aEquipement"
  715. set leggings slot of player to a 6185 named "&aEquipement"
  716. set boots slot of player to a 6412 named "&aEquipement"
  717. give 25 bread named "&aPain" to player
  718. give 1 5578 named "&aCouteau" to player
  719. give 1 5544 named "&aM1 Garand" to player
  720. give 160 5339 named "&aBullet" to player
  721. give 160 5339 named "&aBullet" to player
  722. give 160 5339 named "&aBullet" to player
  723. set {ranksoldat.%player%} to "&aAspirant"
  724.  
  725. command /§sous-lieutenantal:
  726. trigger:
  727. if {sous-lieutenantal.%player%} is false:
  728. if player's money >= 20000:
  729. execute console command "/eco take %player% 20000"
  730. set {sous-lieutenantal.%player%} to true
  731. send "&7[&aVanozia&7] &2Sous-Lieutenant acheté avec succès !"
  732. else:
  733. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  734. else:
  735. clear the player's inventory
  736. wait 2 tick
  737. set helmet slot of player to a 6429 named "&aEquipement"
  738. set chestplate slot of player to a 5976 named "&aEquipement"
  739. set leggings slot of player to a 6185 named "&aEquipement"
  740. set boots slot of player to a 6412 named "&aEquipement"
  741. give 25 bread named "&aPain" to player
  742. give 1 5578 named "&aCouteau" to player
  743. give 1 5544 named "&aM1 Garand" to player
  744. give 160 5339 named "&aBullet" to player
  745. give 160 5339 named "&aBullet" to player
  746. give 160 5339 named "&aBullet" to player
  747. set {ranksoldat.%player%} to "&aSous-Lieutenant"
  748.  
  749. command /§lieutenantal:
  750. trigger:
  751. if {lieutenantal.%player%} is false:
  752. if player's money >= 25000:
  753. execute console command "/eco take %player% 25000"
  754. set {lieutenantal.%player%} to true
  755. send "&7[&aVanozia&7] &2Lieutenant acheté avec succès !"
  756. else:
  757. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  758. else:
  759. clear the player's inventory
  760. wait 2 tick
  761. set helmet slot of player to a 6429 named "&aEquipement"
  762. set chestplate slot of player to a 5976 named "&aEquipement"
  763. set leggings slot of player to a 6185 named "&aEquipement"
  764. set boots slot of player to a 6412 named "&aEquipement"
  765. give 25 bread named "&aPain" to player
  766. give 1 5578 named "&aCouteau" to player
  767. give 1 5544 named "&aM1 Garand" to player
  768. give 160 5339 named "&aBullet" to player
  769. give 160 5339 named "&aBullet" to player
  770. give 160 5339 named "&aBullet" to player
  771. set {ranksoldat.%player%} to "&aLieutenant"
  772.  
  773. command /§capitaineal:
  774. trigger:
  775. if {capitaineal.%player%} is false:
  776. if player's money >= 30000:
  777. execute console command "/eco take %player% 30000"
  778. set {capitaineal.%player%} to true
  779. send "&7[&aVanozia&7] &2Capitaine acheté avec succès !"
  780. else:
  781. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  782. else:
  783. clear the player's inventory
  784. wait 2 tick
  785. set helmet slot of player to a 6076 named "&aEquipement"
  786. set chestplate slot of player to a 5976 named "&aEquipement"
  787. set leggings slot of player to a 6185 named "&aEquipement"
  788. set boots slot of player to a 6412 named "&aEquipement"
  789. give 25 bread named "&aPain" to player
  790. give 1 5578 named "&aCouteau" to player
  791. give 1 5515 named "&aMP-41" to player
  792. give 6 5417 named "&aMunition" to player
  793. give 160 5342 named "&aBullet" to player
  794. give 160 5342 named "&aBullet" to player
  795. give 160 5342 named "&aBullet" to player
  796. set {ranksoldat.%player%} to "&aCapitaine"
  797.  
  798. command /§commandantal:
  799. trigger:
  800. if {commandantal.%player%} is false:
  801. if player's money >= 35000:
  802. execute console command "/eco take %player% 35000"
  803. set {commandantal.%player%} to true
  804. send "&7[&aVanozia&7] &2Commandant acheté avec succès !"
  805. else:
  806. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  807. else:
  808. clear the player's inventory
  809. wait 2 tick
  810. set helmet slot of player to a 6076 named "&aEquipement"
  811. set chestplate slot of player to a 5976 named "&aEquipement"
  812. set leggings slot of player to a 6185 named "&aEquipement"
  813. set boots slot of player to a 6412 named "&aEquipement"
  814. give 25 bread named "&aPain" to player
  815. give 1 5578 named "&aCouteau" to player
  816. give 1 5552 named "&aGewehr" to player
  817. give 160 5334 named "&aBullet" to player
  818. give 160 5334 named "&aBullet" to player
  819. give 160 5334 named "&aBullet" to player
  820. set {ranksoldat.%player%} to "&aCommandant"
  821.  
  822. command /§lieutenant-colonnelal:
  823. trigger:
  824. if {lieutenant-colonnelal.%player%} is false:
  825. if player's money >= 45000:
  826. execute console command "/eco take %player% 45000"
  827. set {lieutenant-colonnelal.%player%} to true
  828. send "&7[&aVanozia&7] &2Lieutenant-Colonnel acheté avec succès !"
  829. else:
  830. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  831. else:
  832. clear the player's inventory
  833. wait 2 tick
  834. set helmet slot of player to a 6346 named "&aEquipement"
  835. set chestplate slot of player to a 5976 named "&aEquipement"
  836. set leggings slot of player to a 6185 named "&aEquipement"
  837. set boots slot of player to a 6412 named "&aEquipement"
  838. give 25 bread named "&aPain" to player
  839. give 1 5578 named "&aCouteau" to player
  840. give 1 5514 named "&aMP-40" to player
  841. give 10 5417 named "&aMunition" to player
  842. give 160 5342 named "&aBullet" to player
  843. give 160 5342 named "&aBullet" to player
  844. give 160 5342 named "&aBullet" to player
  845. give 1 5552 named "&aGewehr" to player
  846. give 160 5334 named "&aBullet" to player
  847. give 160 5334 named "&aBullet" to player
  848. give 160 5334 named "&aBullet" to player
  849. set {ranksoldat.%player%} to "&aLieutenant-Colonnel"
  850.  
  851. command /§colonelal:
  852. trigger:
  853. if {Colonelal.%player%} is false:
  854. if player's money >= 55000:
  855. execute console command "/eco take %player% 55000"
  856. set {Colonelal.%player%} to true
  857. send "&7[&aVanozia&7] &2Colonel acheté avec succès !"
  858. else:
  859. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  860. else:
  861. clear the player's inventory
  862. wait 2 tick
  863. set helmet slot of player to a 6346 named "&aEquipement"
  864. set chestplate slot of player to a 5976 named "&aEquipement"
  865. set leggings slot of player to a 6185 named "&aEquipement"
  866. set boots slot of player to a 6412 named "&aEquipement"
  867. give 25 bread named "&aPain" to player
  868. give 1 5578 named "&aCouteau" to player
  869. give 1 5544 named "&aM1 Garand" to player
  870. give 160 5339 named "&aBullet" to player
  871. give 160 5339 named "&aBullet" to player
  872. give 160 5339 named "&aBullet" to player
  873. give 1 5552 named "&aGewehr" to player
  874. give 160 5334 named "&aBullet" to player
  875. give 160 5334 named "&aBullet" to player
  876. give 160 5334 named "&aBullet" to player
  877. set {ranksoldat.%player%} to "&aColonel"
  878.  
  879. command /§gdbal:
  880. trigger:
  881. if {gdbal.%player%} is false:
  882. if player's money >= 70000:
  883. execute console command "/eco take %player% 70000"
  884. set {gdbal.%player%} to true
  885. send "&7[&aVanozia&7] &2Général de brigade acheté avec succès !"
  886. else:
  887. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  888. else:
  889. clear the player's inventory
  890. wait 2 tick
  891. set helmet slot of player to a 5989 named "&aEquipement"
  892. set chestplate slot of player to a 5976 named "&aEquipement"
  893. set leggings slot of player to a 6185 named "&aEquipement"
  894. set boots slot of player to a 6412 named "&aEquipement"
  895. give 25 bread named "&aPain" to player
  896. give 1 5578 named "&aCouteau" to player
  897. give 1 5544 named "&aM1 Garand" to player
  898. give 160 5339 named "&aBullet" to player
  899. give 160 5339 named "&aBullet" to player
  900. give 160 5339 named "&aBullet" to player
  901. give 1 5552 named "&aGewehr" to player
  902. give 160 5334 named "&aBullet" to player
  903. give 160 5334 named "&aBullet" to player
  904. give 160 5334 named "&aBullet" to player
  905. set {ranksoldat.%player%} to "&aGDB"
  906.  
  907. command /§gddal:
  908. trigger:
  909. if {gddal.%player%} is false:
  910. if player's money >= 80000:
  911. execute console command "/eco take %player% 80000"
  912. set {gddal.%player%} to true
  913. send "&7[&aVanozia&7] &2Général de division acheté avec succès !"
  914. else:
  915. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  916. else:
  917. clear the player's inventory
  918. wait 2 tick
  919. set helmet slot of player to a 5989 named "&aEquipement"
  920. set chestplate slot of player to a named "&aEquipement"
  921. set leggings slot of player to a 6185 named "&aEquipement"
  922. set boots slot of player to a 6412 named "&aEquipement"
  923. give 25 bread named "&aPain" to player
  924. give 1 5578 named "&aCouteau" to player
  925. give 1 5544 named "&aM1 Garand" to player
  926. give 160 5339 named "&aBullet" to player
  927. give 160 5339 named "&aBullet" to player
  928. give 160 5339 named "&aBullet" to player
  929. give 1 5552 named "&aGewehr" to player
  930. give 160 5334 named "&aBullet" to player
  931. give 160 5334 named "&aBullet" to player
  932. give 160 5334 named "&aBullet" to player
  933. set {ranksoldat.%player%} to "&aGDD"
  934.  
  935. command /§gdcal:
  936. trigger:
  937. if {gdcal.%player%} is false:
  938. if player's money >= 80000:
  939. execute console command "/eco take %player% 80000"
  940. set {gdcal.%player%} to true
  941. send "&7[&aVanozia&7] &2Général de corps d'armée acheté avec succès !"
  942. else:
  943. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  944. else:
  945. clear the player's inventory
  946. wait 2 tick
  947. set helmet slot of player to a 5989 named "&aEquipement"
  948. set chestplate slot of player to a 5976 named "&aEquipement"
  949. set leggings slot of player to a 6185 named "&aEquipement"
  950. set boots slot of player to a 6412 named "&aEquipement"
  951. give 25 bread named "&aPain" to player
  952. give 1 5578 named "&aCouteau" to player
  953. give 1 5544 named "&aM1 Garand" to player
  954. give 160 5339 named "&aBullet" to player
  955. give 160 5339 named "&aBullet" to player
  956. give 160 5339 named "&aBullet" to player
  957. give 1 5552 named "&aGewehr" to player
  958. give 160 5334 named "&aBullet" to player
  959. give 160 5334 named "&aBullet" to player
  960. give 160 5334 named "&aBullet" to player
  961. set {ranksoldat.%player%} to "&aGDC"
  962.  
  963. command /§gdaal:
  964. trigger:
  965. if {gdaal.%player%} is false:
  966. if player's money >= 1000000:
  967. execute console command "/eco take %player% 1000000"
  968. set {gdaal.%player%} to true
  969. send "&7[&aVanozia&7] &2Général d'armée acheté avec succès !"
  970. else:
  971. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  972. else:
  973. if {level.%player%} >= 60:
  974. else:
  975. send "&7[&aVanozia&7] &cLevel 60 Requis!"
  976. stop
  977. loop all players:
  978. if {ranksoldat.%loop-player%} contain "&aGDA":
  979. if {campss.%loop-player%} = {campss.%player%}:
  980. send "&7[&aVanozia&7] &cIl y'a dêja un General D'armée!"
  981. stop
  982. clear the player's inventory
  983. wait 2 tick
  984. set helmet slot of player to a 6074 named "&aEquipement"
  985. set chestplate slot of player to a 6288 named "&aEquipement"
  986. set leggings slot of player to a 6309 named "&aEquipement"
  987. set boots slot of player to a 6412 named "&aEquipement"
  988. give 25 bread named "&aPain" to player
  989. give 1 5578 named "&aCouteau" to player
  990. give 1 5544 named "&aM1 Garand" to player
  991. give 160 5339 named "&aBullet" to player
  992. give 10 5574 named "&aGrenade" to player
  993. give 160 5339 named "&aBullet" to player
  994. give 160 5339 named "&aBullet" to player
  995. give 1 5552 named "&aGewehr" to player
  996. give 160 5334 named "&aBullet" to player
  997. give 160 5334 named "&aBullet" to player
  998. give 160 5334 named "&aBullet" to player
  999. set {ranksoldat.%player%} to "&aGDA"
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017. command /§recruefr:
  1018. trigger:
  1019. if {recruefr.%player%} is false:
  1020. if player's money >= 1000:
  1021. execute console command "/eco take %player% 1000"
  1022. set {recruefr.%player%} to true
  1023. send "&7[&aVanozia&7] &2Recrue acheté avec succès !"
  1024. else:
  1025. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  1026. else:
  1027. clear the player's inventory
  1028. wait 2 tick
  1029. set helmet slot of player to a 6372 named "&aEquipement"
  1030. set chestplate slot of player to a 6438 named "&aEquipement"
  1031. set leggings slot of player to a 6350 named "&aEquipement"
  1032. set boots slot of player to a 6412 named "&aEquipement"
  1033. give 25 bread named "&aPain" to player
  1034. give 1 5578 named "&aCouteau" to player
  1035. set {ranksoldat.%player%} to "&aRecrue"
  1036.  
  1037.  
  1038. command /§caporalfr:
  1039. trigger:
  1040. if {caporalfr.%player%} is false:
  1041. if player's money >= 1500:
  1042. execute console command "/eco take %player% 1500"
  1043. set {caporalfr.%player%} to true
  1044. send "&7[&aVanozia&7] &2Caporal acheté avec succès !"
  1045. else:
  1046. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  1047. else:
  1048. clear the player's inventory
  1049. wait 2 tick
  1050. set helmet slot of player to a 6372 named "&aEquipement"
  1051. set chestplate slot of player to a 6423 named "&aEquipement"
  1052. set leggings slot of player to a 6350 named "&aEquipement"
  1053. set boots slot of player to a 6412 named "&aEquipement"
  1054. give 25 bread named "&aPain" to player
  1055. give 1 5578 named "&aCouteau" to player
  1056. give 1 5486 named "&aLuger P08" to player
  1057. give 20 5405 named "&aMunition" to player
  1058. give 160 5331 named "&aBullet" to player
  1059. give 160 5331 named "&aBullet" to player
  1060. give 160 5331 named "&aBullet" to player
  1061. set {ranksoldat.%player%} to "&aCaporal"
  1062.  
  1063. command /§caporal-cheffr:
  1064. trigger:
  1065. if {caporal-cheffr.%player%} is false:
  1066. if player's money >= 2500:
  1067. execute console command "/eco take %player% 2500"
  1068. set {caporal-cheffr.%player%} to true
  1069. send "&7[&aVanozia&7] &2Caporal-chef acheté avec succès !"
  1070. else:
  1071. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  1072. else:
  1073. clear the player's inventory
  1074. wait 2 tick
  1075. set helmet slot of player to a 6372 named "&aEquipement"
  1076. set chestplate slot of player to a 6438 named "&aEquipement"
  1077. set leggings slot of player to a 6350 named "&aEquipement"
  1078. set boots slot of player to a 6412 named "&aEquipement"
  1079. give 25 bread named "&aPain" to player
  1080. give 1 5578 named "&aCouteau" to player
  1081.  
  1082. give 1 5485 named "&aWebley mk VI" to player
  1083.  
  1084. give 160 5336 named "&aBullet" to player
  1085. give 160 5336 named "&aBullet" to player
  1086. give 160 5336 named "&aBullet" to player
  1087. set {ranksoldat.%player%} to "&aCaporal-Chef"
  1088.  
  1089. command /§sergentfr:
  1090. trigger:
  1091. if {sergentfr.%player%} is false:
  1092. if player's money >= 3500:
  1093. execute console command "/eco take %player% 3500"
  1094. set {sergentfr.%player%} to true
  1095. send "&7[&aVanozia&7] &2Sergent acheté avec succès !"
  1096. else:
  1097. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  1098. else:
  1099. clear the player's inventory
  1100. wait 2 tick
  1101. set leggings slot of player to a 6350 named "&aEquipement"
  1102. set boots slot of player to a 6412 named "&aEquipement"
  1103. give 25 bread named "&aPain" to player
  1104. give 1 5578 named "&aCouteau" to player
  1105. set helmet slot of player to a 6372 named "&aEquipement"
  1106. set chestplate slot of player to a 6423 named "&aEquipement"
  1107. give 1 5484 named "&aTec-9" to player
  1108. give 20 5406 named "&aMunition" to player
  1109. give 160 5342 named "&aBullet" to player
  1110. give 160 5342 named "&aBullet" to player
  1111. give 160 5342 named "&aBullet" to player
  1112. set {ranksoldat.%player%} to "&aSergent"
  1113.  
  1114. command /§sergent-cheffr:
  1115. trigger:
  1116. if {sergent-cheffr.%player%} is false:
  1117. if player's money >= 5000:
  1118. execute console command "/eco take %player% 5000"
  1119. set {sergent-cheffr.%player%} to true
  1120. send "&7[&aVanozia&7] &2Sergent-chef acheté avec succès !"
  1121. else:
  1122. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  1123. else:
  1124. clear the player's inventory
  1125. wait 2 tick
  1126. set helmet slot of player to a 6195 named "&aEquipement"
  1127. set chestplate slot of player to a 6438 named "&aEquipement"
  1128. set leggings slot of player to a 6350 named "&aEquipement"
  1129. set boots slot of player to a 6412 named "&aEquipement"
  1130. give 25 bread named "&aPain" to player
  1131. give 1 5578 named "&aCouteau" to player
  1132. give 1 5519 named "&aMP-18" to player
  1133. give 8 5373 named "&aMunition" to player
  1134. give 160 5352 named "&aBullet" to player
  1135. give 160 5352 named "&aBullet" to player
  1136. give 160 5352 named "&aBullet" to player
  1137. set {ranksoldat.%player%} to "&aSergent-Chef"
  1138.  
  1139.  
  1140.  
  1141. command /§adjudantfr:
  1142. trigger:
  1143. if {adjudantfr.%player%} is false:
  1144. if player's money >= 7000:
  1145. execute console command "/eco take %player% 7000"
  1146. set {adjudantfr.%player%} to true
  1147. send "&7[&aVanozia&7] &2Adjudant acheté avec succès !"
  1148. else:
  1149. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  1150. else:
  1151. clear the player's inventory
  1152. wait 2 tick
  1153. set helmet slot of player to a 6195 named "&aEquipement"
  1154. set chestplate slot of player to a 6423 named "&aEquipement"
  1155. set leggings slot of player to a 6350 named "&aEquipement"
  1156. set boots slot of player to a 6412 named "&aEquipement"
  1157. give 25 bread named "&aPain" to player
  1158. give 1 5578 named "&aCouteau" to player
  1159. give 1 5519 named "&aMP-18" to player
  1160. give 8 5373 named "&aMunition" to player
  1161. give 160 5352 named "&aBullet" to player
  1162. give 160 5352 named "&aBullet" to player
  1163. give 160 5352 named "&aBullet" to player
  1164. set {ranksoldat.%player%} to "&aAdjudant"
  1165.  
  1166.  
  1167. command /§adjudant-cheffr:
  1168. trigger:
  1169. if {adjudant-cheffr.%player%} is false:
  1170. if player's money >= 10000:
  1171. execute console command "/eco take %player% 10000"
  1172. set {adjudant-cheffr.%player%} to true
  1173. send "&7[&aVanozia&7] &2Adjudant-chef acheté avec succès !"
  1174. else:
  1175. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  1176. else:
  1177. clear the player's inventory
  1178. wait 2 tick
  1179. set helmet slot of player to a 6087 named "&aEquipement"
  1180. set chestplate slot of player to a 6438 named "&aEquipement"
  1181. set leggings slot of player to a 6350 named "&aEquipement"
  1182. set boots slot of player to a 6412 named "&aEquipement"
  1183. give 25 bread named "&aPain" to player
  1184. give 1 5578 named "&aCouteau" to player
  1185. give 25 bread named "&aPain" to player
  1186. give 1 5578 named "&aCouteau" to player
  1187. give 1 5544 named "&aM1 Garand" to player
  1188. give 160 5339 named "&aBullet" to player
  1189. give 160 5339 named "&aBullet" to player
  1190. give 160 5339 named "&aBullet" to player
  1191. set {ranksoldat.%player%} to "&aAdjudant-Chef"
  1192.  
  1193.  
  1194. command /§aspirantfr:
  1195. trigger:
  1196. if {aspirantfr.%player%} is false:
  1197. if player's money >= 15000:
  1198. execute console command "/eco take %player% 15000"
  1199. set {aspirantfr.%player%} to true
  1200. send "&7[&aVanozia&7] &2Aspirant acheté avec succès !"
  1201. else:
  1202. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  1203. else:
  1204. clear the player's inventory
  1205. wait 2 tick
  1206. set helmet slot of player to a 6087 named "&aEquipement"
  1207. set chestplate slot of player to a 6423 named "&aEquipement"
  1208. set leggings slot of player to a 6350 named "&aEquipement"
  1209. set boots slot of player to a 6412 named "&aEquipement"
  1210. give 25 bread named "&aPain" to player
  1211. give 1 5578 named "&aCouteau" to player
  1212. give 1 5544 named "&aM1 Garand" to player
  1213. give 160 5339 named "&aBullet" to player
  1214. give 160 5339 named "&aBullet" to player
  1215. give 160 5339 named "&aBullet" to player
  1216. set {ranksoldat.%player%} to "&aAspirant"
  1217.  
  1218. command /§sous-lieutenantfr:
  1219. trigger:
  1220. if {sous-lieutenantfr.%player%} is false:
  1221. if player's money >= 20000:
  1222. execute console command "/eco take %player% 20000"
  1223. set {sous-lieutenantfr.%player%} to true
  1224. send "&7[&aVanozia&7] &2Sous-Lieutenant acheté avec succès !"
  1225. else:
  1226. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  1227. else:
  1228. clear the player's inventory
  1229. wait 2 tick
  1230. set helmet slot of player to a 6429 named "&aEquipement"
  1231. set chestplate slot of player to a 6438 named "&aEquipement"
  1232. set leggings slot of player to a 6350 named "&aEquipement"
  1233. set boots slot of player to a 6412 named "&aEquipement"
  1234. give 25 bread named "&aPain" to player
  1235. give 1 5578 named "&aCouteau" to player
  1236. give 1 5544 named "&aM1 Garand" to player
  1237. give 160 5339 named "&aBullet" to player
  1238. give 160 5339 named "&aBullet" to player
  1239. give 160 5339 named "&aBullet" to player
  1240. set {ranksoldat.%player%} to "&aSous-Lieutenant"
  1241.  
  1242. command /§lieutenantfr:
  1243. trigger:
  1244. if {lieutenantfr.%player%} is false:
  1245. if player's money >= 25000:
  1246. execute console command "/eco take %player% 25000"
  1247. set {lieutenantfr.%player%} to true
  1248. send "&7[&aVanozia&7] &2Lieutenant acheté avec succès !"
  1249. else:
  1250. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  1251. else:
  1252. clear the player's inventory
  1253. wait 2 tick
  1254. set helmet slot of player to a 6429 named "&aEquipement"
  1255. set chestplate slot of player to a 6423 named "&aEquipement"
  1256. set leggings slot of player to a 6350 named "&aEquipement"
  1257. set boots slot of player to a 6412 named "&aEquipement"
  1258. give 25 bread named "&aPain" to player
  1259. give 1 5578 named "&aCouteau" to player
  1260. give 1 5544 named "&aM1 Garand" to player
  1261. give 160 5339 named "&aBullet" to player
  1262. give 160 5339 named "&aBullet" to player
  1263. give 160 5339 named "&aBullet" to player
  1264. set {ranksoldat.%player%} to "&aLieutenant"
  1265.  
  1266. command /§capitainefr:
  1267. trigger:
  1268. if {capitainefr.%player%} is false:
  1269. if player's money >= 30000:
  1270. execute console command "/eco take %player% 30000"
  1271. set {capitainefr.%player%} to true
  1272. send "&7[&aVanozia&7] &2Capitaine acheté avec succès !"
  1273. else:
  1274. send "&7[&aVanozia&7] &cTu n'as pas assez d'argent !"
  1275. else:
  1276. clear the player's inventory
  1277. wait 2 tick
  1278. set helmet slot of player to a 6076 named "&aEquipement"
  1279. set chestplate slot of player to a 6438 named "&aEquipement"
  1280. set leggings slot of player to a 6350 named "&aEquipement"
  1281. set boots slot of player to a 6412 named "&aEquipement"
  1282. give 25 bread named "&aPain" to player
  1283. give 1 5578 named "&aCouteau" to player
  1284. give 1 5515 named "&aMP-41" to player
  1285. give 6 5417 named "&aMunition" to player
  1286. give 160 5342 named "&aBullet" to player
  1287. give 160 5342 named "&aBullet" to player
  1288. give 160 5342 named "&aBullet" to player
  1289. set {ranksoldat.%player%} to "&aCapitaine"
Advertisement
Add Comment
Please, Sign In to add comment