Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.73 KB | None | 0 0
  1. --[[---------------------------------------------------------------------------
  2. DarkRP custom entities
  3. ---------------------------------------------------------------------------
  4.  
  5. This file contains your custom entities.
  6. This file should also contain entities from DarkRP that you edited.
  7.  
  8. Note: If you want to edit a default DarkRP entity, first disable it in darkrp_config/disabled_defaults.lua
  9. Once you've done that, copy and paste the entity to this file and edit it.
  10.  
  11. The default entities can be found here:
  12. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/addentities.lua#L111
  13.  
  14. For examples and explanation please visit this wiki page:
  15. http://wiki.darkrp.com/index.php/DarkRP:CustomEntityFields
  16.  
  17. Add entities under the following line:
  18. ---------------------------------------------------------------------------]]
  19.  
  20.  
  21. DarkRP.createEntity( "Music Player", {
  22. ent = "whk_musicplayer",
  23. model = "models/props_lab/citizenradio.mdl",
  24. price = 2000,
  25. max = 1,
  26. cmd = "buyplayer",
  27. allowed = {TEAM_DJ},
  28. category = "Dj",
  29.  
  30. })
  31.  
  32. DarkRP.createEntity( "TV", {
  33. ent = "whk_tv",
  34. model = "models/props/cs_office/tv_plasma.mdl",
  35. price = 5000,
  36. max = 1,
  37. cmd = "buytv",
  38. allowed = {TEAM_DJ},
  39. category = "Dj",
  40.  
  41. })
  42.  
  43. DarkRP.createEntity( "Ammo", {
  44. ent = "cw_ammo_kit_small",
  45. model = "models/Items/item_item_crate.mdl",
  46. price = 1000,
  47. max = 1,
  48. cmd = "ammo",
  49. category = "Ammo",
  50.  
  51. })
  52.  
  53. DarkRP.createEntity( "Wall sign", {
  54. ent = "minecraft_wall_sign",
  55. model = "models/MCModelPack/entities/wallsign.mdl",
  56. price = 2000,
  57. max = 1,
  58. cmd = "ws",
  59. category = "Sign",
  60.  
  61. })
  62.  
  63. DarkRP.createEntity( "sign", {
  64. ent = "minecraft_sign",
  65. model = "models/MCModelPack/entities/sign.mdl",
  66. price = 2000,
  67. max = 1,
  68. cmd = "s",
  69. category = "Sign",
  70.  
  71. })
  72.  
  73. DarkRP.createEntity("Computer Case", {
  74. ent = "bit_case",
  75. model = "models/computer_updated/computer.mdl",
  76. price = 9500,
  77. max = 2,
  78. cmd = "buycomputercase",
  79. allowed = {TEAM_BIT},
  80. category = "Bitminer",
  81. })
  82.  
  83. DarkRP.createEntity("Cornet OS", {
  84. ent = "bit_cornet",
  85. model = "models/props_lab/binderredlabel.mdl",
  86. price = 500,
  87. max = 2,
  88. cmd = "buycornetos",
  89. allowed = {TEAM_BIT}
  90. category = "Bitminer",
  91. })
  92.  
  93. DarkRP.createEntity("Windows OS", {
  94. ent = "bit_windows",
  95. model = "models/props_lab/bindergraylabel01b.mdl",
  96. price = 500,
  97. max = 2,
  98. cmd = "buywindowsos",
  99. allowed = {TEAM_BIT}
  100. category = "Bitminer",
  101. })
  102.  
  103. DarkRP.createEntity("CPU", {
  104. ent = "bit_cpu",
  105. model = "models/props/cs_office/computer_caseb_p4a.mdl",
  106. price = 1050,
  107. max = 2,
  108. cmd = "buycpu",
  109. allowed = {TEAM_BIT}
  110. category = "Bitminer",
  111.  
  112. })
  113.  
  114. DarkRP.createEntity("GPU", {
  115. ent = "bit_graphiccard",
  116. model = "models/props/cs_office/computer_caseb_p2a.mdl",
  117. price = 1200,
  118. max = 2,
  119. cmd = "buygpu",
  120. allowed = {TEAM_BIT}
  121. category = "Bitminer",
  122. })
  123.  
  124. DarkRP.createEntity("HDD", {
  125. ent = "bit_harddisk",
  126. model = "models/props/cs_office/computer_caseb_p6b.mdl",
  127. price = 450,
  128. max = 2,
  129. cmd = "buyhdd",
  130. allowed = {TEAM_BIT}
  131. category = "Bitminer",
  132. })
  133.  
  134. DarkRP.createEntity("MOBO", {
  135. ent = "bit_motherboard",
  136. model = "models/props/cs_office/computer_caseb_p7a.mdl",
  137. price = 800,
  138. max = 2,
  139. cmd = "buymobo",
  140. allowed = {TEAM_BIT}
  141. category = "Bitminer",
  142. })
  143.  
  144. DarkRP.createEntity("Power Supply", {
  145. ent = "bit_powersupply",
  146. model = "models/props/cs_office/computer_caseb_p8a.mdl",
  147. price = 500,
  148. max = 2,
  149. cmd = "buypowersupply",
  150. allowed = {TEAM_BIT}
  151. category = "Bitminer",
  152. })
  153.  
  154. DarkRP.createEntity("RAM", {
  155. ent = "bit_ram",
  156. model = "models/props/cs_office/computer_caseb_p5b.mdl",
  157. price = 500,
  158. max = 2,
  159. cmd = "buyram",
  160. allowed = {TEAM_BIT}
  161. category = "Bitminer",
  162. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement