Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 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. --[[
  25. Generated using: DarkRP | Category Generator
  26. https://csite.io/tools/gmod-darkrp-category
  27. --]]
  28. DarkRP.createCategory{
  29. name = "United States",
  30. categorises = "jobs",
  31. startExpanded = false,
  32. color = Color(27, 133, 232, 255),
  33. canSee = function(ply) return true end,
  34. sortOrder = 1
  35. }
  36.  
  37. --[[
  38. Generated using: DarkRP | Category Generator
  39. https://csite.io/tools/gmod-darkrp-category
  40. --]]
  41. DarkRP.createCategory{
  42. name = "Russia",
  43. categorises = "jobs",
  44. startExpanded = false,
  45. color = Color(255, 1, 1, 255),
  46. canSee = function(ply) return true end,
  47. sortOrder = 1
  48. }
  49.  
  50. --[[
  51. Generated using: DarkRP | Category Generator
  52. https://csite.io/tools/gmod-darkrp-category
  53. --]]
  54. DarkRP.createCategory{
  55. name = "Citizens",
  56. categorises = "jobs",
  57. startExpanded = false,
  58. color = Color(1, 255, 57, 255),
  59. canSee = function(ply) return true end,
  60. sortOrder = 1
  61. }
  62.  
  63. --[[
  64. Generated using: DarkRP | Category Generator
  65. https://csite.io/tools/gmod-darkrp-category
  66. --]]
  67. DarkRP.createCategory{
  68. name = "Cuba",
  69. categorises = "jobs",
  70. startExpanded = false,
  71. color = Color(157, 166, 54, 255),
  72. canSee = function(ply) return true end,
  73. sortOrder = 1
  74. }
  75.  
  76. --[[
  77. Generated using: DarkRP | Category Generator
  78. https://csite.io/tools/gmod-darkrp-category
  79. --]]
  80. DarkRP.createCategory{
  81. name = "Germany",
  82. categorises = "jobs",
  83. startExpanded = false,
  84. color = Color(132, 36, 140, 255),
  85. canSee = function(ply) return true end,
  86. sortOrder = 1
  87. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement