Advertisement
Guest User

categories.lua

a guest
Jul 27th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1. --[[-----------------------------------------------------------------------
  2. Categories
  3. ---------------------------------------------------------------------------
  4. The categories of the default F4 menu.
  5. Please read this page for more information:
  6. http://wiki.darkrp.com/index.php/DarkRP:Categories
  7. In case that page can't be reached, here's an example with explanation:
  8. DarkRP.createCategory{
  9. name = "Citizens", -- The name of the category.
  10. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  11. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  12. color = Color(0, 107, 0, 255), -- The color of the category header.
  13. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  14. 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.
  15. }
  16. Add new categories under the next line!
  17. ---------------------------------------------------------------------------]]
  18.  
  19. DarkRP.createCategory{
  20. name = "Citizens",
  21. categorises = "jobs",
  22. startExpanded = true,
  23. color = Color(0, 0, 0, 255),
  24. sortOrder = 1,
  25. }
  26.  
  27. DarkRP.createCategory{
  28. name = "Reich High Command",
  29. categorises = "jobs",
  30. startExpanded = false,
  31. color = Color(0, 0, 0, 255),
  32. sortOrder = 2,
  33. }
  34.  
  35. DarkRP.createCategory{
  36. name = "NSDAP",
  37. categorises = "jobs",
  38. startExpanded = false,
  39. color = Color(0, 0, 0, 255),
  40. sortOrder = 3,
  41. }
  42.  
  43. DarkRP.createCategory{
  44. name = "Rekrut Kompanie",
  45. categorises = "jobs",
  46. startExpanded = true,
  47. color = Color(0, 0, 0, 255),
  48. sortOrder = 4,
  49. }
  50.  
  51. DarkRP.createCategory{
  52. name = "Geheimen Staatspolizei",
  53. categorises = "jobs",
  54. startExpanded = false,
  55. color = Color(0, 0, 0, 255),
  56. sortOrder = 6,
  57. }
  58.  
  59. DarkRP.createCategory{
  60. name = "Berliner Ordnungspolizei",
  61. categorises = "jobs",
  62. startExpanded = false,
  63. color = Color(0, 0, 0, 255),
  64. sortOrder = 7,
  65. }
  66.  
  67. DarkRP.createCategory{
  68. name = "9.SS Pionier Kompanie 'Cäsar'",
  69. categorises = "jobs",
  70. startExpanded = false,
  71. color = Color(0, 0, 0, 255),
  72. sortOrder = 9,
  73. }
  74.  
  75. DarkRP.createCategory{
  76. name = "1.SS Division 'Adolf Hitler' Kompanie 'Anton'",
  77. categorises = "jobs",
  78. startExpanded = false,
  79. color = Color(0, 0, 0, 255),
  80. sortOrder = 10,
  81. }
  82.  
  83. DarkRP.createCategory{
  84. name = "23rd Infantry Division, Kompanie 'Viktor'",
  85. categorises = "jobs",
  86. startExpanded = false,
  87. color = Color(0, 0, 0, 255),
  88. sortOrder = 10,
  89. }
  90.  
  91. DarkRP.createCategory{
  92. name = "95th Infantry Div.Feldgendarmerie Kompanie 'Richard'",
  93. categorises = "jobs",
  94. startExpanded = false,
  95. color = Color(0, 0, 0, 255),
  96. sortOrder = 10,
  97. }
  98.  
  99. DarkRP.createCategory{
  100. name = "Inland Sicherheitsdienst",
  101. categorises = "jobs",
  102. startExpanded = false,
  103. color = Color(0, 0, 0, 255),
  104. sortOrder = 12,
  105. }
  106.  
  107. DarkRP.createCategory{
  108. name = "German Resistance",
  109. categorises = "jobs",
  110. startExpanded = false,
  111. color = Color(0, 0, 0, 255),
  112. sortOrder = 13,
  113. }
  114.  
  115. DarkRP.createCategory{
  116. name = "The Rote Kapelle",
  117. categorises = "jobs",
  118. startExpanded = false,
  119. color = Color(0, 0, 0, 255),
  120. sortOrder = 14,
  121. }
  122.  
  123. DarkRP.createCategory{
  124. name = "Mafia",
  125. categorises = "jobs",
  126. startExpanded = true,
  127. color = Color(0, 0, 0, 255),
  128. sortOrder = 15,
  129. }
  130.  
  131. DarkRP.createCategory{
  132. name = "Street Level Crime",
  133. categorises = "jobs",
  134. startExpanded = true,
  135. color = Color(0, 0, 0, 255),
  136. sortOrder = 16,
  137. }
  138.  
  139. DarkRP.createCategory{
  140. name = "Nazi Custom Jobs",
  141. categorises = "jobs",
  142. startExpanded = false,
  143. color = Color(0, 0, 0, 255),
  144. sortOrder = 17,
  145. }
  146.  
  147. DarkRP.createCategory{
  148. name = "Resistance Custom Jobs",
  149. categorises = "jobs",
  150. startExpanded = false,
  151. color = Color(0, 0, 0, 255),
  152. sortOrder = 18,
  153. }
  154.  
  155. DarkRP.createCategory{
  156. name = "Mafia Custom Jobs",
  157. categorises = "jobs",
  158. startExpanded = false,
  159. color = Color(0, 0, 0, 255),
  160. sortOrder = 19,
  161. }
  162.  
  163. DarkRP.createCategory{
  164. name = "Admin on Duty",
  165. categorises = "jobs",
  166. startExpanded = true,
  167. color = Color(0, 0, 0, 255),
  168. sortOrder = 25,
  169. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement