Advertisement
Hexicles

Untitled

Dec 15th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.94 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 = "Staff", -- The name of the category.
  25. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  26. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  27. color = Color(0, 107, 0, 255), -- The color of the category header.
  28. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  29. 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.
  30. }
  31.  
  32. DarkRP.createCategory{
  33. name = "Stormtroopers", -- The name of the category.
  34. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  35. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  36. color = Color(0, 107, 0, 255), -- The color of the category header.
  37. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  38. 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.
  39. }
  40.  
  41. DarkRP.createCategory{
  42. name = "Recruits", -- The name of the category.
  43. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  44. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  45. color = Color(0, 107, 0, 255), -- The color of the category header.
  46. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  47. 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.
  48. }
  49.  
  50. DarkRP.createCategory{
  51. name = "Death Troopers", -- The name of the category.
  52. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  53. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  54. color = Color(0, 107, 0, 255), -- The color of the category header.
  55. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  56. 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.
  57. }
  58.  
  59. DarkRP.createCategory{
  60. name = "Sith", -- The name of the category.
  61. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  62. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  63. color = Color(0, 107, 0, 255), -- The color of the category header.
  64. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  65. 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.
  66. }
  67.  
  68. DarkRP.createCategory{
  69. name = "Scout Troopers", -- The name of the category.
  70. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  71. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  72. color = Color(0, 107, 0, 255), -- The color of the category header.
  73. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  74. 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.
  75. }
  76.  
  77. DarkRP.createCategory{
  78. name = "Medical Troopers", -- The name of the category.
  79. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  80. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  81. color = Color(0, 107, 0, 255), -- The color of the category header.
  82. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  83. 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.
  84. }
  85.  
  86. DarkRP.createCategory{
  87. name = "High Command", -- The name of the category.
  88. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  89. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  90. color = Color(0, 107, 0, 255), -- The color of the category header.
  91. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  92. 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.
  93. }
  94.  
  95. DarkRP.createCategory{
  96. name = "Rancor Troopers", -- The name of the category.
  97. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  98. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  99. color = Color(0, 107, 0, 255), -- The color of the category header.
  100. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  101. 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.
  102. }
  103.  
  104. DarkRP.createCategory{
  105. name = "Emperors Guards", -- The name of the category.
  106. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  107. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  108. color = Color(0, 107, 0, 255), -- The color of the category header.
  109. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  110. 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.
  111. }
  112.  
  113. DarkRP.createCategory{
  114. name = "Shadow troopers", -- The name of the category.
  115. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  116. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  117. color = Color(0, 107, 0, 255), -- The color of the category header.
  118. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  119. 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.
  120. }
  121.  
  122. DarkRP.createCategory{
  123. name = "Shock troopers", -- The name of the category.
  124. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  125. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  126. color = Color(0, 107, 0, 255), -- The color of the category header.
  127. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  128. 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.
  129. }
  130.  
  131. DarkRP.createCategory{
  132. name = "ISB", -- The name of the category.
  133. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  134. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  135. color = Color(0, 107, 0, 255), -- The color of the category header.
  136. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  137. 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.
  138. }
  139.  
  140. DarkRP.createCategory{
  141. name = "Snow Troopers", -- The name of the category.
  142. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  143. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  144. color = Color(0, 107, 0, 255), -- The color of the category header.
  145. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  146. 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.
  147. }
  148.  
  149. DarkRP.createCategory{
  150. name = "Navy Troopers", -- The name of the category.
  151. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  152. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  153. color = Color(0, 107, 0, 255), -- The color of the category header.
  154. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  155. 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.
  156. }
  157.  
  158. DarkRP.createCategory{
  159. name = "501st", -- The name of the category.
  160. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  161. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  162. color = Color(0, 107, 0, 255), -- The color of the category header.
  163. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  164. 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.
  165. }
  166.  
  167. DarkRP.createCategory{
  168. name = "Fleet", -- The name of the category.
  169. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  170. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  171. color = Color(0, 107, 0, 255), -- The color of the category header.
  172. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  173. 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.
  174. }
  175.  
  176. DarkRP.createCategory{
  177. name = "84th", -- The name of the category.
  178. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  179. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  180. color = Color(0, 107, 0, 255), -- The color of the category header.
  181. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  182. 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.
  183. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement