Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.62 KB | None | 0 0
  1. --[[-----------------------------------------------------------------------
  2. Categories
  3. ---------------------------------------------------------------------------
  4. The categories of the default F4 menu.
  5.  
  6. Please read this page for more information:
  7. http://wiki.darkrp.com/index.php/DarkRP:Categories
  8.  
  9. In case that page can't be reached, here's an example with explanation:
  10.  
  11. DarkRP.createCategory{
  12. name = "Citizens", -- The name of the category.
  13. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  14. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  15. color = Color(0, 107, 0, 255), -- The color of the category header.
  16. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  17. sortOrder = 70, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  18. }
  19.  
  20.  
  21. Add new categories under the next line!
  22. ---------------------------------------------------------------------------]]
  23. --]]
  24.  
  25. DarkRP.createCategory{
  26. name = "Citizens", -- The name of the category.
  27. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  28. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  29. color = Color(0, 107, 0, 255), -- The color of the category header.
  30. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  31. sortOrder = 70, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  32. }
  33.  
  34. DarkRP.createCategory{
  35. name = "VIP Jobs",
  36. categorises = "jobs",
  37. startExpanded = true,
  38. color = Color(0, 107, 158, 255),
  39. canSee = function(ply) return true end,
  40. categorises = "jobs",
  41. startExpanded = true,
  42. color = Color(0, 107, 158, 255),
  43. canSee = function(ply) return true end,
  44. sortOrder = 1,
  45. }
  46. DarkRP.createCategory{
  47. name = "East Side Gang",
  48. categorises = "jobs",
  49. startExpanded = true,
  50. color = Color(0, 107, 158, 255),
  51. canSee = function(ply) return true end,
  52. sortOrder = 3,
  53. }
  54. DarkRP.createCategory{
  55. name = "West Side Gang",
  56. categorises = "jobs",
  57. startExpanded = true,
  58. color = Color(0, 107, 158, 255),
  59. canSee = function(ply) return true end,
  60. sortOrder = 4,
  61. }
  62. DarkRP.createCategory{
  63. name = "Police",
  64. categorises = "jobs",
  65. startExpanded = true,
  66. color = Color(0, 107, 158, 255),
  67. canSee = function(ply) return true end,
  68. sortOrder = 5,
  69. }
  70. DarkRP.createCategory{
  71. name = "Criminals",
  72. categorises = "jobs",
  73. startExpanded = true,
  74. color = Color(0, 107, 0, 255),
  75. canSee = function(ply) return true end,
  76. sortOrder = 2,
  77. }
  78.  
  79. DarkRP.createCategory{
  80. name = "Staff",
  81. categorises = "jobs",
  82. startExpanded = true,
  83. color = Color(0, 107, 158, 255),
  84. canSee = function(ply) return true end,
  85. sortOrder = 99,
  86. }
  87.  
  88.  
  89. ---------[[ Entities ]]---------
  90. DarkRP.createCategory{
  91. name = "Printers",
  92. categorises = "entities",
  93. startExpanded = true,
  94. color = Color(255, 241, 0),
  95. canSee = function(ply) return true end,
  96. sortOrder = 1,
  97. }
  98.  
  99. DarkRP.createCategory{
  100. name = "Assault Rifles",
  101. categorises = "shipments",
  102. startExpanded = true,
  103. color = Color(0, 107, 0, 255),
  104. canSee = function(ply) return true end,
  105. sortOrder = 1
  106. }
  107.  
  108. DarkRP.createCategory{
  109. name = "Machine Guns",
  110. categorises = "shipments",
  111. startExpanded = true,
  112. color = Color(0, 107, 0, 255),
  113. canSee = function(ply) return true end,
  114. sortOrder = 6
  115. }
  116.  
  117. DarkRP.createCategory{
  118. name = "Sniper Rifles",
  119. categorises = "shipments",
  120. startExpanded = true,
  121. color = Color(0, 107, 0, 255),
  122. canSee = function(ply) return true end,
  123. sortOrder = 4
  124. }
  125.  
  126. DarkRP.createCategory{
  127. name = "Semi Automatic Weapons",
  128. categorises = "shipments",
  129. startExpanded = true,
  130. color = Color(0, 107, 0, 255),
  131. canSee = function(ply) return true end,
  132. sortOrder = 2
  133. }
  134.  
  135. DarkRP.createCategory{
  136. name = "Shotguns",
  137. categorises = "shipments",
  138. startExpanded = true,
  139. color = Color(0, 107, 0, 255),
  140. canSee = function(ply) return true end,
  141. sortOrder = 3
  142. }
  143.  
  144. DarkRP.createCategory{
  145. name = "Pistols",
  146. categorises = "shipments",
  147. startExpanded = true,
  148. color = Color(0, 107, 0, 255),
  149. canSee = function(ply) return true end,
  150. sortOrder = 5
  151. }
  152.  
  153. DarkRP.createCategory{
  154. name = "Printers",
  155. categorises = "entities",
  156. startExpanded = true,
  157. color = Color(0, 107, 0, 255),
  158. canSee = function(ply) return true end,
  159. sortOrder = 1
  160. }
  161.  
  162. DarkRP.createCategory{
  163. name = "Drugs",
  164. categorises = "entities",
  165. startExpanded = true,
  166. color = Color(0, 107, 0, 255),
  167. canSee = function(ply) return true end,
  168. sortOrder = 2
  169. }
  170.  
  171. DarkRP.createCategory{
  172. name = "Assault Rifles",
  173. categorises = "weapons",
  174. startExpanded = true,
  175. color = Color(0, 107, 0, 255),
  176. canSee = function(ply) return true end,
  177. sortOrder = 3
  178. }
  179.  
  180. DarkRP.createCategory{
  181. name = "Shotguns",
  182. categorises = "weapons",
  183. startExpanded = true,
  184. color = Color(0, 107, 0, 255),
  185. canSee = function(ply) return true end,
  186. sortOrder = 4
  187. }
  188.  
  189. DarkRP.createCategory{
  190. name = "Sniper Rifles",
  191. categorises = "weapons",
  192. startExpanded = true,
  193. color = Color(0, 107, 0, 255),
  194. canSee = function(ply) return true end,
  195. sortOrder = 5
  196. }
  197.  
  198. DarkRP.createCategory{
  199. name = "Machine Guns",
  200. categorises = "weapons",
  201. startExpanded = true,
  202. color = Color(0, 107, 0, 255),
  203. canSee = function(ply) return true end,
  204. sortOrder = 6
  205. }
  206.  
  207. DarkRP.createCategory{
  208. name = "SMG",
  209. categorises = "weapons",
  210. startExpanded = true,
  211. color = Color(0, 107, 0, 255),
  212. canSee = function(ply) return true end,
  213. sortOrder = 2
  214. }
  215.  
  216. DarkRP.createCategory{
  217. name = "Pistols",
  218. categorises = "weapons",
  219. startExpanded = true,
  220. color = Color(0, 107, 0, 255),
  221. canSee = function(ply) return true end,
  222. sortOrder = 1
  223. }
  224.  
  225. DarkRP.createCategory{
  226. name = "Special",
  227. categorises = "weapons",
  228. startExpanded = true,
  229. color = Color(0, 107, 0, 255),
  230. canSee = function(ply) return true end,
  231. sortOrder = 7
  232. }
  233.  
  234. DarkRP.createCategory{
  235. name = "Black Market",
  236. categorises = "weapons",
  237. startExpanded = true,
  238. color = Color(0, 107, 0, 255),
  239. canSee = function(ply) return true end,
  240. sortOrder = 1
  241. }
  242.  
  243. DarkRP.createCategory{
  244. name = "Vapes",
  245. categorises = "entities",
  246. startExpanded = true,
  247. color = Color(23, 150, 16),
  248. canSee = function(ply) return true end,
  249. sortOrder = 1
  250. }
  251.  
  252. DarkRP.createCategory{
  253. name = "Vapes",
  254. categorises = "shipments",
  255. color = Color(23, 150, 16),
  256. startExpanded = true,
  257. canSee = function(ply) return true end,
  258. sortOrder = 1
  259. }
  260.  
  261. DarkRP.createCategory{
  262. name = "Tools",
  263. categorises = "entities",
  264. color = Color(23, 150, 16),
  265. startExpanded = true,
  266. canSee = function(ply) return true end,
  267. sortOrder = 1
  268. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement