Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---[[-----------------------------------------------------------------------
- Categories
- ---------------------------------------------------------------------------
- The categories of the default F4 menu.
- Please read this page for more information:
- http://wiki.darkrp.com/index.php/DarkRP:Categories
- In case that page can't be reached, here's an example with explanation:
- DarkRP.createCategory{
- name = "Citizens", -- The name of the category.
- categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
- startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
- color = Color(0, 107, 0, 255), -- The color of the category header.
- canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
- 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.
- }
- Add new categories under the next line!
- ---------------------------------------------------------------------------]]
- DarkRP.createCategory{
- name = "Ammo",
- categorises = "entities",
- startExpanded = true,
- color = Color(107, 107, 107, 255),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- DarkRP.createCategory{
- name = "Storm Troopers",
- categorises = "jobs",
- startExpanded = true,
- color = Color(255, 255, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 1
- }
- DarkRP.createCategory{
- name = "212th Attack Battalion",
- categorises = "jobs",
- startExpanded = true,
- color = Color(255, 255, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 2
- }
- DarkRP.createCategory{
- name = "501st Legion",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 26, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 3
- }
- DarkRP.createCategory{
- name = "Scouts",
- categorises = "jobs",
- startExpanded = true,
- color = Color(255, 255, 255, 255),
- canSee = function(ply) return true end,
- sortOrder = 4
- }
- DarkRP.createCategory{
- name = "Shock",
- categorises = "jobs",
- startExpanded = true,
- color = Color(255, 0, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 5
- }
- DarkRP.createCategory{
- name = "Pilots",
- categorises = "jobs",
- startExpanded = true,
- color = Color(25, 25, 25, 255),
- canSee = function(ply) return true end,
- sortOrder = 6
- }
- DarkRP.createCategory{
- name = "Shadow Troopers",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 0, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 7
- }
- DarkRP.createCategory{
- name = "Death Troopers",
- categorises = "jobs",
- startExpanded = true,
- color = Color(0, 0, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 8
- }
- DarkRP.createCategory{
- name = "Medical Corps ",
- categorises = "jobs",
- startExpanded = true,
- color = Color(77, 77, 77, 255),
- canSee = function(ply) return true end,
- sortOrder = 9
- }
- DarkRP.createCategory{
- name = "Imperial Commandos",
- categorises = "jobs",
- startExpanded = true,
- color = Color(110, 110, 110, 255),
- canSee = function(ply) return true end,
- sortOrder = 10
- }
- DarkRP.createCategory{
- name = "ISB",
- categorises = "jobs",
- startExpanded = true,
- color = Color(117, 117, 117, 255),
- canSee = function(ply) return true end,
- sortOrder = 11
- }
- DarkRP.createCategory{
- name = "Fleet",
- categorises = "jobs",
- startExpanded = true,
- color = Color(117, 117, 117, 255),
- canSee = function(ply) return true end,
- sortOrder = 12
- }
- DarkRP.createCategory{
- name = "Droids",
- categorises = "jobs",
- startExpanded = true,
- color = Color(77, 77, 77, 255),
- canSee = function(ply) return true end,
- sortOrder = 14
- }
- DarkRP.createCategory{
- name = "Inquisitors",
- categorises = "jobs",
- startExpanded = true,
- color = Color(255, 0, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 13
- }
- DarkRP.createCategory{
- name = "Donator Jobs",
- categorises = "jobs",
- startExpanded = true,
- color = Color(235, 255, 0, 255),
- canSee = function(ply) return true end,
- sortOrder = 15
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement