Advertisement
Guest User

DarkRP Catagories

a guest
Sep 19th, 2018
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.46 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 = 100, -- 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. Generated using: DarkRP | Category Generator
  26. https://csite.io/tools/gmod-darkrp-category
  27. --]]
  28. DarkRP.createCategory{
  29. name = "Police Department",
  30. categorises = "jobs",
  31. startExpanded = true,
  32. color = Color(0, 56, 255, 255),
  33. canSee = function(ply) return true end,
  34. sortOrder = 19
  35. }
  36. --[[
  37. Generated using: DarkRP | Category Generator
  38. https://csite.io/tools/gmod-darkrp-category
  39. --]]
  40. DarkRP.createCategory{
  41. name = "Road Side Assistance",
  42. categorises = "jobs",
  43. startExpanded = true,
  44. color = Color(255, 248, 24, 255),
  45. canSee = function(ply) return true end,
  46. sortOrder = 20
  47. }
  48.  
  49. --[[
  50. Generated using: DarkRP | Category Generator
  51. https://csite.io/tools/gmod-darkrp-category
  52. --]]
  53. DarkRP.createCategory{
  54. name = "Gruppe 6",
  55. categorises = "jobs",
  56. startExpanded = true,
  57. color = Color(0, 255, 7, 255),
  58. canSee = function(ply) return true end,
  59. sortOrder = 18
  60. }
  61.  
  62. --[[
  63. Generated using: DarkRP | Category Generator
  64. https://csite.io/tools/gmod-darkrp-category
  65. --]]
  66. DarkRP.createCategory{
  67. name = "General Public",
  68. categorises = "jobs",
  69. startExpanded = true,
  70. color = Color(255, 255, 255, 255),
  71. canSee = function(ply) return true end,
  72. sortOrder = 1
  73. }
  74.  
  75.  
  76. --[[
  77. Generated using: DarkRP | Category Generator
  78. https://csite.io/tools/gmod-darkrp-category
  79. --]]
  80. DarkRP.createCategory{
  81. name = "Criminals",
  82. categorises = "jobs",
  83. startExpanded = true,
  84. color = Color(0, 0, 0, 255),
  85. canSee = function(ply) return true end,
  86. sortOrder = 2
  87. }
  88.  
  89.  
  90. --[[
  91. Generated using: DarkRP | Category Generator
  92. https://csite.io/tools/gmod-darkrp-category
  93. --]]
  94. DarkRP.createCategory{
  95. name = "Hospital",
  96. categorises = "jobs",
  97. startExpanded = true,
  98. color = Color(255, 0, 0, 255),
  99. canSee = function(ply) return true end,
  100. sortOrder = 0
  101. }
  102.  
  103.  
  104. --[[
  105. Generated using: DarkRP | Category Generator
  106. https://csite.io/tools/gmod-darkrp-category
  107. --]]
  108. DarkRP.createCategory{
  109. name = "Road Side Assistance",
  110. categorises = "entities",
  111. startExpanded = true,
  112. color = Color(255, 244, 0, 255),
  113. canSee = function(ply) return table.HasValue({mechanic}, ply:Team()) end,
  114. sortOrder = 2
  115. }
  116.  
  117. --[[
  118. Generated using: DarkRP | Category Generator
  119. https://csite.io/tools/gmod-darkrp-category
  120. --]]
  121. DarkRP.createCategory{
  122. name = "Ammo",
  123. categorises = "entities",
  124. startExpanded = true,
  125. color = Color(255, 0, 0, 255),
  126. canSee = function(ply) return true end,
  127. sortOrder = 1
  128. }
  129.  
  130.  
  131. --[[
  132. Generated using: DarkRP | Category Generator
  133. https://csite.io/tools/gmod-darkrp-category
  134. --]]
  135. DarkRP.createCategory{
  136. name = "FBI",
  137. categorises = "jobs",
  138. startExpanded = true,
  139. color = Color(255, 243, 0, 255),
  140. canSee = function(ply) return true end,
  141. sortOrder = 25
  142. }
  143.  
  144. --[[
  145. Generated using: DarkRP | Category Generator
  146. https://csite.io/tools/gmod-darkrp-category
  147. --]]
  148. DarkRP.createCategory{
  149. name = "DEA",
  150. categorises = "jobs",
  151. startExpanded = true,
  152. color = Color(255, 244, 0, 255),
  153. canSee = function(ply) return true end,
  154. sortOrder = 26
  155. }
  156.  
  157. --[[
  158. Generated using: DarkRP | Category Generator
  159. https://csite.io/tools/gmod-darkrp-category
  160. --]]
  161. DarkRP.createCategory{
  162. name = "Pistols",
  163. categorises = "shipments",
  164. startExpanded = true,
  165. color = Color(255, 255, 255, 255),
  166. canSee = function(ply) return true end,
  167. sortOrder = 1
  168. }
  169.  
  170. --[[
  171. Generated using: DarkRP | Category Generator
  172. https://csite.io/tools/gmod-darkrp-category
  173. --]]
  174. DarkRP.createCategory{
  175. name = "Shotguns",
  176. categorises = "shipments",
  177. startExpanded = true,
  178. color = Color(255, 255, 255, 255),
  179. canSee = function(ply) return true end,
  180. sortOrder = 2
  181. }
  182.  
  183. --[[
  184. Generated using: DarkRP | Category Generator
  185. https://csite.io/tools/gmod-darkrp-category
  186. --]]
  187. DarkRP.createCategory{
  188. name = "Rifles",
  189. categorises = "shipments",
  190. startExpanded = true,
  191. color = Color(255, 255, 255, 255),
  192. canSee = function(ply) return true end,
  193. sortOrder = 3
  194. }
  195. --[[
  196. Generated using: DarkRP | Category Generator
  197. https://csite.io/tools/gmod-darkrp-category
  198. --]]
  199. DarkRP.createCategory{
  200. name = "Explosives",
  201. categorises = "shipments",
  202. startExpanded = true,
  203. color = Color(255, 255, 255, 255),
  204. canSee = function(ply) return true end,
  205. sortOrder = 5
  206. }
  207. --[[
  208. Generated using: DarkRP | Category Generator
  209. https://csite.io/tools/gmod-darkrp-category
  210. --]]
  211. DarkRP.createCategory{
  212. name = "Automatics",
  213. categorises = "shipments",
  214. startExpanded = true,
  215. color = Color(255, 255, 255, 255),
  216. canSee = function(ply) return true end,
  217. sortOrder = 4
  218. }
  219.  
  220. --[[
  221. Generated using: DarkRP | Category Generator
  222. https://csite.io/tools/gmod-darkrp-category
  223. --]]
  224. DarkRP.createCategory{
  225. name = "Heroin",
  226. categorises = "entities",
  227. startExpanded = true,
  228. color = Color(255, 255, 255, 255),
  229. canSee = function(ply) return true end,
  230. sortOrder = 30
  231. }
  232.  
  233. DarkRP.createCategory{
  234. name = "Meth",
  235. categorises = "entities",
  236. startExpanded = true,
  237. color = Color(255, 255, 255, 255),
  238. canSee = function(ply) return true end,
  239. sortOrder = 30
  240. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement