Advertisement
Guest User

Untitled

a guest
Jun 25th, 2014
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.86 KB | None | 0 0
  1. /*---------------------------------------------------------------------------
  2. DarkRP custom shipments and guns
  3. ---------------------------------------------------------------------------
  4.  
  5. This file contains your custom shipments and guns.
  6. This file should also contain shipments and guns from DarkRP that you edited.
  7.  
  8. Note: If you want to edit a default DarkRP shipment, first disable it in darkrp_config/disabled_defaults.lua
  9. Once you've done that, copy and paste the shipment to this file and edit it.
  10.  
  11. The default shipments and guns can be found here:
  12. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/addentities.lua
  13.  
  14. For examples and explanation please visit this wiki page:
  15. http://wiki.darkrp.com/index.php/DarkRP:CustomShipmentFields
  16.  
  17.  
  18. Add shipments and guns under the following line:
  19. ---------------------------------------------------------------------------*/
  20.  
  21. AddCustomShipment("Ithaca M37 Shipment", {
  22. model = "models/weapons/w_ithaca_m37.mdl", -- The model of the item that hovers above the shipment
  23. entity = "m9k_", -- the entity that comes out of the shipment
  24. price = 12500, -- the price of one shipment
  25. amount = 10, -- how many of the item go in one purchased shipment
  26. separate = false, -- whether the item is sold separately (usually used for guns)
  27. pricesep = 100, -- the price of a separately sold item
  28. noship = false, -- whether this item has a shipment
  29. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  30. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  31. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  32. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  33. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  34. label = "Ithaca M37 Shipment" -- Optional: the text on the button in the F4 menu
  35. })
  36.  
  37. AddCustomShipment("AMD 65 Shipment", {
  38. model = "models/weapons/w_amd_65.mdl", -- The model of the item that hovers above the shipment
  39. entity = "m9k_amd65", -- the entity that comes out of the shipment
  40. price = 12250, -- the price of one shipment
  41. amount = 10, -- how many of the item go in one purchased shipment
  42. separate = false, -- whether the item is sold separately (usually used for guns)
  43. pricesep = 100, -- the price of a separately sold item
  44. noship = false, -- whether this item has a shipment
  45. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  46. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  47. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  48. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  49. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  50. label = "AMD 65 Shipment" -- Optional: the text on the button in the F4 menu
  51. })
  52.  
  53. AddCustomShipment("AN-94 Shipment", {
  54. model = "models/weapons/w_rif_an_94.mdl", -- The model of the item that hovers above the shipment
  55. entity = "m9k_an94", -- the entity that comes out of the shipment
  56. price = 12250, -- the price of one shipment
  57. amount = 10, -- how many of the item go in one purchased shipment
  58. separate = false, -- whether the item is sold separately (usually used for guns)
  59. pricesep = 100, -- the price of a separately sold item
  60. noship = false, -- whether this item has a shipment
  61. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  62. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  63. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  64. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  65. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  66. label = "AN-94 Shipment" -- Optional: the text on the button in the F4 menu
  67. })
  68.  
  69. AddCustomShipment("M4A1 Iron Shipment", {
  70. model = "models/weapons/v_m4a1_iron.mdl", -- The model of the item that hovers above the shipment
  71. entity = "m9k_m41", -- the entity that comes out of the shipment
  72. price = 10500, -- the price of one shipment
  73. amount = 10, -- how many of the item go in one purchased shipment
  74. separate = false, -- whether the item is sold separately (usually used for guns)
  75. pricesep = 100, -- the price of a separately sold item
  76. noship = false, -- whether this item has a shipment
  77. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  78. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  79. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  80. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  81. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  82. label = " M4A1 Iron Shipment" -- Optional: the text on the button in the F4 menu
  83. })
  84.  
  85. AddCustomShipment("AAC Honey Badger Shipment", {
  86. model = "models/weapons/w_aac_honeybadger.mdl", -- The model of the item that hovers above the shipment
  87. entity = "m9k_honeybadger", -- the entity that comes out of the shipment
  88. price = 11250, -- the price of one shipment
  89. amount = 10, -- how many of the item go in one purchased shipment
  90. separate = false, -- whether the item is sold separately (usually used for guns)
  91. pricesep = 100, -- the price of a separately sold item
  92. noship = false, -- whether this item has a shipment
  93. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  94. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  95. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  96. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  97. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  98. label = "AAC Honey Badger Shipment" -- Optional: the text on the button in the F4 menu
  99. })
  100.  
  101. AddCustomShipment("KAC PDW Shipment", {
  102. model = "models/weapons/w_kac_pdw.mdl", -- The model of the item that hovers above the shipment
  103. entity = "m9k_kac_pdw", -- the entity that comes out of the shipment
  104. price = 10000, -- the price of one shipment
  105. amount = 10, -- how many of the item go in one purchased shipment
  106. separate = false, -- whether the item is sold separately (usually used for guns)
  107. pricesep = 100, -- the price of a separately sold item
  108. noship = false, -- whether this item has a shipment
  109. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  110. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  111. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  112. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  113. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  114. label = "KAC PDW Shipment" -- Optional: the text on the button in the F4 menu
  115. })
  116.  
  117. AddCustomShipment("Magpul PDR Shipment", {
  118. model = "models/weapons/w_magpul_pdr.mdl", -- The model of the item that hovers above the shipment
  119. entity = "m9k_magpulpdr", -- the entity that comes out of the shipment
  120. price = 12000, -- the price of one shipment
  121. amount = 10, -- how many of the item go in one purchased shipment
  122. separate = false, -- whether the item is sold separately (usually used for guns)
  123. pricesep = 100, -- the price of a separately sold item
  124. noship = false, -- whether this item has a shipment
  125. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  126. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  127. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  128. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  129. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  130. label = "Magpul PDR Shipment" -- Optional: the text on the button in the F4 menu
  131. })
  132.  
  133. AddCustomShipment("UZI Shipment", {
  134. model = "models/weapons/w_uzi_imi.mdl", -- The model of the item that hovers above the shipment
  135. entity = "m9k_uzi", -- the entity that comes out of the shipment
  136. price = 9950, -- the price of one shipment
  137. amount = 10, -- how many of the item go in one purchased shipment
  138. separate = false, -- whether the item is sold separately (usually used for guns)
  139. pricesep = 100, -- the price of a separately sold item
  140. noship = false, -- whether this item has a shipment
  141. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  142. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  143. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  144. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  145. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  146. label = "UZI Shipment" -- Optional: the text on the button in the F4 menu
  147. })
  148.  
  149. AddCustomShipment("FN P90 Shipment", {
  150. model = "models/weapons/w_fn_p90.mdl", -- The model of the item that hovers above the shipment
  151. entity = "m9k_smgp90", -- the entity that comes out of the shipment
  152. price = 10500, -- the price of one shipment
  153. amount = 10, -- how many of the item go in one purchased shipment
  154. separate = false, -- whether the item is sold separately (usually used for guns)
  155. pricesep = 100, -- the price of a separately sold item
  156. noship = false, -- whether this item has a shipment
  157. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  158. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  159. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  160. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  161. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  162. label = "FN P90 Shipment" -- Optional: the text on the button in the F4 menu
  163. })
  164.  
  165. AddCustomShipment("STEN Shipment", {
  166. model = "models/weapons/w_sten.mdl", -- The model of the item that hovers above the shipment
  167. entity = "m9k_sten", -- the entity that comes out of the shipment
  168. price = 9850, -- the price of one shipment
  169. amount = 10, -- how many of the item go in one purchased shipment
  170. separate = false, -- whether the item is sold separately (usually used for guns)
  171. pricesep = 100, -- the price of a separately sold item
  172. noship = false, -- whether this item has a shipment
  173. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  174. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  175. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  176. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  177. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  178. label = "STEN Shipment" -- Optional: the text on the button in the F4 menu
  179. })
  180.  
  181. AddCustomShipment(Remington 870 Shipment", {
  182. model = "models/weapons/w_remington_870_tact.mdl", -- The model of the item that hovers above the shipment
  183. entity = "m9k_remington870", -- the entity that comes out of the shipment
  184. price = 15000, -- the price of one shipment
  185. amount = 10, -- how many of the item go in one purchased shipment
  186. separate = false, -- whether the item is sold separately (usually used for guns)
  187. pricesep = 100, -- the price of a separately sold item
  188. noship = false, -- whether this item has a shipment
  189. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  190. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  191. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  192. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  193. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  194. label = "Remington 870 Shipment" -- Optional: the text on the button in the F4 menu
  195. })
  196.  
  197. AddCustomShipment("Browning Auto 5 Shipment", {
  198. model = "models/weapons/w_browning_auto.mdl", -- The model of the item that hovers above the shipment
  199. entity = "m9k_browningauto5", -- the entity that comes out of the shipment
  200. price = 15500, -- the price of one shipment
  201. amount = 10, -- how many of the item go in one purchased shipment
  202. separate = false, -- whether the item is sold separately (usually used for guns)
  203. pricesep = 100, -- the price of a separately sold item
  204. noship = false, -- whether this item has a shipment
  205. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  206. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  207. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  208. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  209. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  210. label = "Browning Auto 5 Shipment" -- Optional: the text on the button in the F4 menu
  211. })
  212.  
  213. AddCustomShipment("G36 Shipment", {
  214. model = "models/weapons/w_hk_g36c.mdl", -- The model of the item that hovers above the shipment
  215. entity = "m9k_g36", -- the entity that comes out of the shipment
  216. price = 12000, -- the price of one shipment
  217. amount = 10, -- how many of the item go in one purchased shipment
  218. separate = false, -- whether the item is sold separately (usually used for guns)
  219. pricesep = 100, -- the price of a separately sold item
  220. noship = false, -- whether this item has a shipment
  221. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  222. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  223. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  224. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  225. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  226. label = "G36 Shipment" -- Optional: the text on the button in the F4 menu
  227. })
  228.  
  229. AddCustomShipment("HK G3A3 Shipment", {
  230. model = "models/weapons/w_hk_g3.mdl", -- The model of the item that hovers above the shipment
  231. entity = "m9k_g3a3", -- the entity that comes out of the shipment
  232. price = 12750, -- the price of one shipment
  233. amount = 10, -- how many of the item go in one purchased shipment
  234. separate = false, -- whether the item is sold separately (usually used for guns)
  235. pricesep = 100, -- the price of a separately sold item
  236. noship = false, -- whether this item has a shipment
  237. allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
  238. shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
  239. clip1 = 10, -- OPTIONAL, The amount of bullets in the primary clip by default
  240. clip2 = 10, -- OPTIONAL, The amount of bullets in the secondary clip by default
  241. buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
  242. label = "HK G3A3 Shipment" -- Optional: the text on the button in the F4 menu
  243. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement