Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.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. DarkRP.createCategory{
  25. name = "Ammo",
  26. categorises = "entities",
  27. startExpanded = true,
  28. color = Color(107, 107, 107, 255),
  29. canSee = function(ply) return true end,
  30. sortOrder = 1
  31. }
  32.  
  33. DarkRP.createCategory{
  34. name = "Storm Troopers",
  35. categorises = "jobs",
  36. startExpanded = true,
  37. color = Color(255, 255, 255, 255),
  38. canSee = function(ply) return true end,
  39. sortOrder = 1
  40. }
  41.  
  42. DarkRP.createCategory{
  43. name = "212th Attack Battalion",
  44. categorises = "jobs",
  45. startExpanded = true,
  46. color = Color(255, 255, 255, 255),
  47. canSee = function(ply) return true end,
  48. sortOrder = 2
  49. }
  50.  
  51. DarkRP.createCategory{
  52. name = "501st Legion",
  53. categorises = "jobs",
  54. startExpanded = true,
  55. color = Color(0, 26, 255, 255),
  56. canSee = function(ply) return true end,
  57. sortOrder = 3
  58. }
  59.  
  60. DarkRP.createCategory{
  61. name = "Scouts",
  62. categorises = "jobs",
  63. startExpanded = true,
  64. color = Color(255, 255, 255, 255),
  65. canSee = function(ply) return true end,
  66. sortOrder = 4
  67. }
  68.  
  69. DarkRP.createCategory{
  70. name = "Shock",
  71. categorises = "jobs",
  72. startExpanded = true,
  73. color = Color(255, 0, 0, 255),
  74. canSee = function(ply) return true end,
  75. sortOrder = 5
  76. }
  77.  
  78. DarkRP.createCategory{
  79. name = "Pilots",
  80. categorises = "jobs",
  81. startExpanded = true,
  82. color = Color(25, 25, 25, 255),
  83. canSee = function(ply) return true end,
  84. sortOrder = 6
  85. }
  86.  
  87. DarkRP.createCategory{
  88. name = "Shadow Troopers",
  89. categorises = "jobs",
  90. startExpanded = true,
  91. color = Color(0, 0, 0, 255),
  92. canSee = function(ply) return true end,
  93. sortOrder = 7
  94. }
  95.  
  96. DarkRP.createCategory{
  97. name = "Death Troopers",
  98. categorises = "jobs",
  99. startExpanded = true,
  100. color = Color(0, 0, 0, 255),
  101. canSee = function(ply) return true end,
  102. sortOrder = 8
  103. }
  104.  
  105. DarkRP.createCategory{
  106. name = "Medical Corps ",
  107. categorises = "jobs",
  108. startExpanded = true,
  109. color = Color(77, 77, 77, 255),
  110. canSee = function(ply) return true end,
  111. sortOrder = 9
  112. }
  113.  
  114. DarkRP.createCategory{
  115. name = "Imperial Commandos",
  116. categorises = "jobs",
  117. startExpanded = true,
  118. color = Color(110, 110, 110, 255),
  119. canSee = function(ply) return true end,
  120. sortOrder = 10
  121. }
  122.  
  123. DarkRP.createCategory{
  124. name = "ISB",
  125. categorises = "jobs",
  126. startExpanded = true,
  127. color = Color(117, 117, 117, 255),
  128. canSee = function(ply) return true end,
  129. sortOrder = 11
  130. }
  131.  
  132. DarkRP.createCategory{
  133. name = "Fleet",
  134. categorises = "jobs",
  135. startExpanded = true,
  136. color = Color(117, 117, 117, 255),
  137. canSee = function(ply) return true end,
  138. sortOrder = 12
  139. }
  140.  
  141. DarkRP.createCategory{
  142. name = "Droids",
  143. categorises = "jobs",
  144. startExpanded = true,
  145. color = Color(77, 77, 77, 255),
  146. canSee = function(ply) return true end,
  147. sortOrder = 14
  148. }
  149.  
  150. DarkRP.createCategory{
  151. name = "Inquisitors",
  152. categorises = "jobs",
  153. startExpanded = true,
  154. color = Color(255, 0, 0, 255),
  155. canSee = function(ply) return true end,
  156. sortOrder = 13
  157. }
  158.  
  159. DarkRP.createCategory{
  160. name = "Donator Jobs",
  161. categorises = "jobs",
  162. startExpanded = true,
  163. color = Color(235, 255, 0, 255),
  164. canSee = function(ply) return true end,
  165. sortOrder = 15
  166. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement