Advertisement
Jbell2337

Untitled

Feb 26th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.33 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. DarkRP.createCategory{
  24. name = "Cadet",
  25. categorises = "jobs",
  26. startExpanded = true,
  27. color = Color(200, 222, 0, 255),
  28. canSee = function(ply) return true end,
  29. sortOrder = 97,
  30. }
  31.  
  32. DarkRP.createCategory{
  33. name = "21st Infantry",
  34. categorises = "jobs",
  35. startExpanded = true,
  36. color = Color(72, 232, 101, 255),
  37. canSee = function(ply) return true end,
  38. sortOrder = 98,
  39. }
  40.  
  41. DarkRP.createCategory{
  42. name = "UNSC Medical Corps",
  43. categorises = "jobs",
  44. startExpanded = true,
  45. color = Color(245, 56, 81, 255),
  46. canSee = function(ply) return true end,
  47. sortOrder = 99,
  48. }
  49.  
  50. DarkRP.createCategory{
  51. name = "506th Armored",
  52. categorises = "jobs",
  53. startExpanded = true,
  54. color = Color(51, 255, 255, 255),
  55. canSee = function(ply) return true end,
  56. sortOrder = 100,
  57. }
  58.  
  59. DarkRP.createCategory{
  60. name = "Military Police",
  61. categorises = "jobs",
  62. startExpanded = true,
  63. color = Color(255, 207, 94, 255),
  64. canSee = function(ply) return true end,
  65. sortOrder = 101,
  66. }
  67.  
  68. DarkRP.createCategory{
  69. name = "Marine Officers",
  70. categorises = "jobs",
  71. startExpanded = true,
  72. color = Color(122, 122, 122, 255),
  73. canSee = function(ply) return true end,
  74. sortOrder = 102,
  75. }
  76.  
  77. DarkRP.createCategory{
  78. name = "Orbital Drop Shock Troopers",
  79. categorises = "jobs",
  80. startExpanded = true,
  81. color = Color(115, 118, 193, 255),
  82. canSee = function(ply) return true end,
  83. sortOrder = 103,
  84. }
  85.  
  86. DarkRP.createCategory{
  87. name = "52nd Airborne",
  88. categorises = "jobs",
  89. startExpanded = true,
  90. color = Color(171, 0, 255, 255),
  91. canSee = function(ply) return true end,
  92. sortOrder = 104,
  93. }
  94.  
  95. DarkRP.createCategory{
  96. name = "8th Recon",
  97. categorises = "jobs",
  98. startExpanded = true,
  99. color = Color(0, 255, 0, 255),
  100. canSee = function(ply) return true end,
  101. sortOrder = 105,
  102. }
  103.  
  104. DarkRP.createCategory{
  105. name = "Noble Team",
  106. categorises = "jobs",
  107. startExpanded = true,
  108. color = Color(99, 99, 99, 255),
  109. canSee = function(ply) return true end,
  110. sortOrder = 109,
  111. }
  112.  
  113. DarkRP.createCategory{
  114. name = "Spartan III",
  115. categorises = "jobs",
  116. startExpanded = true,
  117. color = Color(16, 167, 255, 255),
  118. canSee = function(ply) return true end,
  119. sortOrder = 110,
  120. }
  121.  
  122. DarkRP.createCategory{
  123. name = "Entities",
  124. categorises = "entities",
  125. startExpanded = true,
  126. color = Color(221, 255, 0, 255),
  127. canSee = function(ply) return true end,
  128. sortOrder = 99,
  129. }
  130.  
  131. DarkRP.createCategory{
  132. name = "ONI",
  133. categorises = "jobs",
  134. startExpanded = true,
  135. color = Color(43, 0, 255, 255),
  136. canSee = function(ply) return true end,
  137. sortOrder = 122,
  138. }
  139.  
  140. DarkRP.createCategory{
  141. name = "Second Fleet",
  142. categorises = "jobs",
  143. startExpanded = true,
  144. color = Color(122, 122, 122, 255),
  145. canSee = function(ply) return true end,
  146. sortOrder = 122,
  147. }
  148.  
  149. DarkRP.createCategory{
  150. name = "OOC",
  151. categorises = "jobs",
  152. startExpanded = true,
  153. color = Color(255, 255, 255, 255),
  154. canSee = function(ply) return true end,
  155. sortOrder = 999,
  156. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement