Advertisement
carlosdorelli

Untitled

Jun 19th, 2020
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. // Painel de Uniforme Policial
  2. command vestiario(){
  3. permission = "vestiario";
  4. execute(){
  5. effectManager.sendUI(19685, 1, player.id);
  6. effectManager.sendUI(19686, 2, player.id);
  7. effectManager.sendUI(19687, 3, player.id);
  8. effectManager.sendUI(19688, 4, player.id);
  9. }
  10. }
  11.  
  12. // Eventos
  13. event onEffectButtonClicked(player, key){
  14. if(key == "NovaFarda"){
  15. player.browserRequest("Leia nossos Termos de Uso", "https://unturned-mania.com/termos-de-uso");
  16. }
  17. if(key == "RemoverFarda"){
  18. player.clothing.clear();
  19. }
  20. if(key == "Fechar"){
  21. effectManager.clearUIbyID(19651, player.id);
  22. effectManager.clearUIbyID(19652, player.id);
  23. effectManager.clearUIbyID(19653, player.id);
  24. }
  25. if(key == "01"){
  26. player.inventory.addItem(225, 1);
  27. player.inventory.addItem(3066, 1);
  28. player.inventory.addItem(3070, 1);
  29. player.inventory.addItem(3076, 1);
  30. }
  31. if(key == "02"){
  32. player.inventory.addItem(3537, 1);
  33. player.inventory.addItem(3066, 1);
  34. player.inventory.addItem(3070, 1);
  35. player.inventory.addItem(3076, 1);
  36. }
  37. if(key == "03"){
  38. player.inventory.addItem(3067, 1);
  39. player.inventory.addItem(3031, 1);
  40. player.inventory.addItem(3032, 1);
  41. }
  42. if(key == "04"){
  43. player.inventory.addItem(225, 1);
  44. player.inventory.addItem(435, 1);
  45. player.inventory.addItem(3066, 1);
  46. player.inventory.addItem(3070, 1);
  47. player.inventory.addItem(3076, 1);
  48. }
  49. if(key == "05"){
  50. player.inventory.addItem(225, 1);
  51. player.inventory.addItem(434, 1);
  52. player.inventory.addItem(3066, 1);
  53. player.inventory.addItem(3070, 1);
  54. player.inventory.addItem(3076, 1);
  55. }
  56. if(key == "06"){
  57. player.inventory.addItem(1472, 1);
  58. player.inventory.addItem(3066, 1);
  59. player.inventory.addItem(1473, 1);
  60. player.inventory.addItem(1474, 1);
  61. }
  62. if(key == "07"){
  63. player.inventory.addItem(3069, 1);
  64. player.inventory.addItem(3067, 1);
  65. player.inventory.addItem(3029, 1);
  66. player.inventory.addItem(3030, 1);
  67. }
  68. if(key == "08"){
  69. player.inventory.addItem(3068, 1);
  70. player.inventory.addItem(3066, 1);
  71. player.inventory.addItem(3029, 1);
  72. player.inventory.addItem(3030, 1);
  73. }
  74. if(key == "09"){
  75. player.inventory.addItem(3068, 1);
  76. player.inventory.addItem(3066, 1);
  77. player.inventory.addItem(3029, 1);
  78. player.inventory.addItem(3030, 1);
  79. }
  80. if(key == "10"){
  81. player.inventory.addItem(1389, 1);
  82. player.inventory.addItem(3534, 1);
  83. player.inventory.addItem(214, 1);
  84. }
  85. if(key == "11"){
  86. player.inventory.addItem(3534, 1);
  87. player.inventory.addItem(214, 1);
  88. }
  89. if(key == "12"){
  90. player.inventory.addItem(225, 1);
  91. player.inventory.addItem(3066, 1);
  92. player.inventory.addItem(8036, 1);
  93. player.inventory.addItem(8033, 1);
  94. }
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement