SHARE
TWEET

Untitled

a guest Sep 12th, 2019 112 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mp.events.add("playerJoin", (player) => {
  2.     player.giveWeapon(3220176749, 9000);
  3.     player.giveWeapon(171789620, 9000);
  4.     player.giveWeapon(736523883, 9000);
  5.     player.giveWeapon(2578377531, 9000);
  6.     player.giveWeapon(487013001, 9000);
  7.     player.giveWeapon(0x394F415C, 9000);
  8. player.setClothes(3, 14, 0, 0);
  9. player.setClothes(8, 57, 0, 0);
  10. player.setClothes(6, 21, 0, 2);
  11. player.setProp(0, 12, 0);
  12. player.setClothes(1, 111, 17, 17);
  13. player.setClothes(4, 28, 0, 1);
  14. player.setClothes(11, 154, 0, 1);
  15. player.spawn(new mp.Vector3(-1189, 50.22, 53.50));
  16. });
  17.  
  18. mp.world.time.set(12, 12, 12);
  19.  
  20. mp.events.addCommand('pos', (player) => {
  21. player.outputChatBox(player.position.x + " " + player.position.y + " " + player.position.z);
  22. });
  23.  
  24. mp.events.add(`playerJoin`, player => {
  25.         player.outputChatBox(`Willkommen, !{#f5b642}${player.name}!`);
  26.     }
  27. );
  28.  
  29. mp.events.add('playerDeath', player => {
  30. player.spawn(new mp.Vector3(-1189, 50.22, 53.50));
  31. });
  32.  
  33. mp.events.addCommand('auto'sdas, (player, _, vehName) => {
  34.     if (vehName && vehName.trim().length > 0) {
  35.         let pos = player.position;
  36.         pos.x += 2;
  37.         mp.vehicles.new(mp.joaat(vehName), pos);
  38. player.notify("~r~DU HAST EIN FAHRZEUG GESPAWNT!");
  39.     }
  40. });
  41.  
  42. mp.events.add('player.Join', player => {
  43. player.armour=100
  44. });
  45.  
  46. mp.events.addCommand('kill', (player) => {
  47. let playerHealth = player.health
  48. player.health = 0
  49. player.outputChatBox("!{#ff2200}DU WURDEST VON EINEM ADMIN GEKILLT!");
  50. });
  51.  
  52. mp.events.addCommand('waffe', (player, _, weaponName) => {
  53.     if (weaponName.trim().length > 0)
  54.         player.giveWeapon(mp.joaat(`weapon_${weaponName}`), 100);
  55.     player.notify("~r~DU HAST EINE WAFFE BEKOMMEN!");
  56. });
  57.  
  58. mp.events.addCommand('health', (player) => {
  59. let playerHealth = player.health
  60. player.health = 100
  61. player.outputChatBox("!{#f5b642}Du hast dich GEHEALTH!");
  62. });
  63.  
  64. mp.events.addCommand('armour', (player) => {
  65. let playerArmour = player.armour
  66. player.armour = 100
  67. player.outputChatBox("!{#428af5}Du hast dir WESTE gegeben!");
  68. });
  69.  
  70. mp.events.addCommand('heal', (player) => {
  71. let playerHealth = player.health
  72. player.health = 100
  73. let playerArmour = player.armour
  74. player.armour = 100
  75. player.outputChatBox("!{#42f554}Du hast dich GEHEALT!");
  76. });
  77.  
  78. mp.events.addCommand('wettersnow', (player) => {
  79.  mp.world.weather = 'SNOW'; // SETTER
  80. });
  81.  
  82. mp.events.addCommand('wetterthunder', (player) => {
  83.  mp.world.weather = 'THUNDER'; // SETTER
  84. });
  85.  
  86. mp.events.addCommand('wettersunny', (player) => {
  87.  mp.world.weather = 'EXTRASUNNY'; // SETTER
  88. });
  89.  
  90.  
  91. mp.events.addCommand('onadmin', (player) => {
  92. let playerHealth = player.health
  93. player.health = 100
  94. let playerArmour = player.armour
  95. player.armour = 100
  96. player.outputChatBox("!{#fc0303}Du hast den ADMIN-Mode betreten!");
  97. mp.players.local.freezehealth(true);
  98. player.giveWeapon(2982836145, 9000);
  99. player.giveWeapon(3686625920, 9000);
  100. player.giveWeapon(3231910285, 9000);
  101. player.giveWeapon(911657153, 9000);
  102. player.giveWeapon(1119849093, 9000);
  103. player.giveWeapon(205991906, 9000);
  104. player.setClothes(1, 54, 0, 0);
  105. player.setClothes(11, 50, 0, 0);
  106. player.setClothes(4, 33, 0, 0);
  107. player.setClothes(6, 25, 0, 0);
  108. player.setClothes(9, 15, 2, 0);
  109. player.setClothes(3, 17, 0, 0);
  110. player.setClothes(8, 15, 0, 0);
  111. });
  112.  
  113. mp.events.addCommand('offadmin', (player) => {
  114. let playerHealth = player.health
  115. player.health = 100
  116. let playerArmour = player.armour
  117. player.armour = 100
  118. player.outputChatBox("!{#fc0303}Du hast den ADMIN-Mode verlassen!");
  119. mp.players.local.freezehealth(false);
  120. player.removeWeapon(2982836145, 9000);
  121. player.removeWeapon(3686625920, 9000);
  122. player.removeWeapon(3231910285, 9000);
  123. player.removeWeapon(911657153, 9000);
  124. player.removeWeapon(1119849093, 9000);
  125. player.removeWeapon(205991906, 9000);
  126. player.setClothes(3, 14, 0, 0);
  127. player.setClothes(8, 57, 0, 0);
  128. player.setClothes(6, 21, 0, 2);
  129. player.setProp(0, 12, 0);
  130. player.setClothes(1, 111, 17, 17);
  131. player.setClothes(4, 28, 0, 1);
  132. player.setClothes(11, 154, 0, 1);
  133. });
  134.  
  135. mp.events.addCommand("waffen", (player) => {
  136.     player.giveWeapon(3220176749, 9000);
  137.     player.giveWeapon(171789620, 9000);
  138.     player.giveWeapon(736523883, 9000);
  139.     player.giveWeapon(2578377531, 9000);
  140.     player.giveWeapon(487013001, 9000);
  141.     player.giveWeapon(2982836145, 9000);
  142.     player.giveWeapon(3686625920, 9000);
  143.     player.giveWeapon(3231910285, 9000);
  144.     player.giveWeapon(911657153, 9000);
  145.     player.giveWeapon(1119849093, 9000);
  146.     player.giveWeapon(205991906, 9000);
  147.     player.giveWeapon(0xAF3696A1, 9000);
  148.     player.giveWeapon(0x47757124, 9000);
  149.     player.giveWeapon(0xEFE7E2DF, 9000);
  150.     player.giveWeapon(0x3AABBBAA, 9000);
  151.     player.giveWeapon(0xFAD1F1C9, 9000);
  152.     player.giveWeapon(0x394F415C, 9000);
  153.     player.giveWeapon(0x63AB0442, 9000);
  154.     player.giveWeapon(0x6D544C99, 9000);
  155.     player.giveWeapon(0x7F7497E5, 9000);
  156.     player.giveWeapon(0xB62D1F67, 9000);
  157.     player.giveWeapon(0x2C3731D9, 9000);
  158. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top