SHARE
TWEET

Untitled

a guest Jun 17th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 = "StormTroopers",
  26.    categorises = "jobs",
  27.    startExpanded = false,
  28.    color = Color(211, 219, 222, 255),
  29.    canSee = function(ply) return true end,
  30.    sortOrder = 1,
  31. }
  32.  
  33. DarkRP.createCategory{
  34.    name = "Shore Troopers",
  35.    categorises = "jobs",
  36.    startExpanded = false,
  37.    color = Color(0, 153, 255, 255),
  38.    canSee = function(ply) return true end,
  39.    sortOrder = 2,
  40. }
  41.  
  42. DarkRP.createCategory{
  43.    name = "501STs",
  44.    categorises = "jobs",
  45.    startExpanded = false,
  46.    color = Color(0, 149, 229, 255),
  47.    canSee = function(ply) return true end,
  48.    sortOrder = 3,
  49. }
  50.  
  51. DarkRP.createCategory{
  52.    name = "Mandalorian Supercommandos",
  53.    categorises = "jobs",
  54.    startExpanded = false,
  55.    color = Color(173, 0, 0, 255),
  56.    canSee = function(ply) return true end,
  57.    sortOrder = 4,
  58. }
  59.  
  60. DarkRP.createCategory{
  61.    name = "Shock Troopers",
  62.    categorises = "jobs",
  63.    startExpanded = false,
  64.    color = Color(229, 0, 0, 255),
  65.    canSee = function(ply) return true end,
  66.    sortOrder = 5,
  67. }
  68.  
  69. DarkRP.createCategory{
  70.    name = "224th",
  71.    categorises = "jobs",
  72.    startExpanded = false,
  73.    color = Color(255, 71, 71, 255),
  74.    canSee = function(ply) return true end,
  75.    sortOrder = 6,
  76. }
  77.  
  78. DarkRP.createCategory{
  79.    name = "Navy",
  80.    categorises = "jobs",
  81.    startExpanded = false,
  82.    color = Color(145, 145, 145, 255),
  83.    canSee = function(ply) return true end,
  84.    sortOrder = 7,
  85. }
  86.  
  87. DarkRP.createCategory{
  88.    name = "Naval Guard",
  89.    categorises = "jobs",
  90.    startExpanded = false,
  91.    color = Color(145, 145, 145, 255),
  92.    canSee = function(ply) return true end,
  93.    sortOrder = 8,
  94. }
  95.  
  96. DarkRP.createCategory{
  97.    name = "ISB",
  98.    categorises = "jobs",
  99.    startExpanded = false,
  100.    color = Color(76, 73, 73, 255),
  101.    canSee = function(ply) return true end,
  102.    sortOrder = 9,
  103. }
  104.  
  105. DarkRP.createCategory{
  106.    name = "Umbra Commandos",
  107.    categorises = "jobs",
  108.    startExpanded = false,
  109.    color = Color(252, 239, 0, 255),
  110.    canSee = function(ply) return true end,
  111.    sortOrder = 10,
  112. }
  113.  
  114. DarkRP.createCategory{
  115.    name = "Death Troopers",
  116.    categorises = "jobs",
  117.    startExpanded = false,
  118.    color = Color(0, 0, 0, 255),
  119.    canSee = function(ply) return true end,
  120.    sortOrder = 11,
  121. }
  122.  
  123. DarkRP.createCategory{
  124.    name = "Medics",
  125.    categorises = "jobs",
  126.    startExpanded = false,
  127.    color = Color(255, 0, 0, 255),
  128.    canSee = function(ply) return true end,
  129.    sortOrder = 12,
  130. }
  131.  
  132. DarkRP.createCategory{
  133.    name = "Tie Pilots",
  134.    categorises = "jobs",
  135.    startExpanded = false,
  136.    color = Color(0, 153, 255, 255),
  137.    canSee = function(ply) return true end,
  138.    sortOrder = 13,
  139. }
  140.  
  141. DarkRP.createCategory{
  142.    name = "Scout Troopers",
  143.    categorises = "jobs",
  144.    startExpanded = false,
  145.    color = Color(26, 119, 75, 255),
  146.    canSee = function(ply) return true end,
  147.    sortOrder = 14,
  148. }
  149.  
  150. DarkRP.createCategory{
  151.    name = "Arc Troopers",
  152.    categorises = "jobs",
  153.    startExpanded = false,
  154.    color = Color(16, 232, 203, 255),
  155.    canSee = function(ply) return true end,
  156.    sortOrder = 15,
  157. }
  158.  
  159. DarkRP.createCategory{
  160.    name = "Recruit",
  161.    categorises = "jobs",
  162.    startExpanded = true,
  163.    color = Color(82, 82, 82, 255),
  164.    canSee = function(ply) return true end,
  165.    sortOrder = 16,
  166. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top