Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. DarkRP.createCategory{
  2. name = "Gouvernement", -- The name of the category.
  3. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  4. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  5. color = Color(0, 107, 0, 255), -- The color of the category header.
  6. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  7. 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.
  8. }
  9.  
  10. DarkRP.createCategory{
  11. name = "Légal",
  12. categorises = "jobs",
  13. startExpanded = false,
  14. color = Color(0, 107, 0, 255),
  15. canSee = fp{fn.Id, true},
  16. sortOrder = 255,
  17. }
  18.  
  19. DarkRP.createCategory{
  20. name = "Illégal",
  21. categorises = "jobs",
  22. startExpanded = false,
  23. color = Color(0, 107, 0, 255),
  24. canSee = fp{fn.Id, true},
  25. sortOrder = 255,
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement