Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.18 KB | None | 0 0
  1. --[[----------------------------------------------------------------------- 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! ---------------------------------------------------------------------------]] --[[ File organization: 1- Default Job (CADET) 2- Palpatine 3- JEDI 4- Fleet 5- General 6- Named regiments/squeads (Example: Clone Guard, Clone Trooper) 7- Numered regiments/squeads (Example: 1st, 2nd, 3th) 8- Custom regiments/squeads All sorted by chain of command. --]] DarkRP.createCategory{ name = "Cadet", categorises = "jobs", startExpanded = true, color = Color(128, 128, 128, 128), canSee = function(ply) return true end, sortOrder = 1, } DarkRP.createCategory{ name = "Republic Chancellor", categorises = "jobs", startExpanded = true, color = Color(150, 0, 0, 255), canSee = function(ply) return true end, sortOrder = 22, } DarkRP.createCategory{ name = "Jedi", categorises = "jobs", startExpanded = true, color = Color(0, 153, 255, 50), canSee = function(ply) return true end, sortOrder = 23, } DarkRP.createCategory{ name = "Jedi Donate", categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicl startExpanded = true, color = Color(0, 153, 255, 50), canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN sortOrder = 24, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high } DarkRP.createCategory{ name = "Fleet", categorises = "jobs", startExpanded = true, color = Color(0, 204, 102, 40), canSee = function(ply) return true end, sortOrder = 21, } DarkRP.createCategory{ name = "General", categorises = "jobs", startExpanded = true, color = Color(0, 147, 255, 255), canSee = function(ply) return true end, sortOrder = 20, } DarkRP.createCategory{ name = "ARC", categorises = "jobs", startExpanded = true, color = Color(51, 153, 255, 255), canSee = function(ply) return true end, sortOrder = 10, } DarkRP.createCategory{ name = "ARF", categorises = "jobs", startExpanded = true, color = Color(0, 102, 102, 102), canSee = function(ply) return true end, sortOrder = 11, } DarkRP.createCategory{ name = "Battalion Commander", categorises = "jobs", startExpanded = true, color = Color(204, 0, 0, 40), canSee = function(ply) return true end, sortOrder = 19, } DarkRP.createCategory{ name = "Clone Guard", categorises = "jobs", startExpanded = true, color = Color(204, 0, 0, 0), canSee = function(ply) return true end, sortOrder = 16, } DarkRP.createCategory{ name = "Clone Trooper", categorises = "jobs", startExpanded = true, color = Color(128, 128, 128, 128), canSee = function(ply) return true end, sortOrder = 3, } DarkRP.createCategory{ name = "Delta Squad", categorises = "jobs", startExpanded = true, color = Color(255, 153, 0, 0), canSee = function(ply) return true end, sortOrder = 17, } DarkRP.createCategory{ name = "Galactic Marines", categorises = "jobs", startExpanded = true, color = Color(204, 0, 153, 153), canSee = function(ply) return true end, sortOrder = 7, } DarkRP.createCategory{ name = "Omega Squad", categorises = "jobs", startExpanded = true, color = Color(91, 3, 3, 253), canSee = function(ply) return true end, sortOrder = 18, } DarkRP.createCategory{ name = "Pilots", categorises = "jobs", startExpanded = true, color = Color(255, 255, 0, 0), canSee = function(ply) return true end, sortOrder = 14, } DarkRP.createCategory{ name = "Senate Commandos", categorises = "jobs", startExpanded = true, color = Color(0, 0, 204, 204), canSee = function(ply) return true end, sortOrder = 15, } DarkRP.createCategory{ name = "501st Legion", categorises = "jobs", startExpanded = true, color = Color(0, 51, 124, 124), canSee = function(ply) return true end, sortOrder = 3, } DarkRP.createCategory{ name = "327th Star Corps", categorises = "jobs", startExpanded = true, color = Color(230, 172, 0, 0), canSee = function(ply) return true end, sortOrder = 8, } DarkRP.createCategory{ name = "282nd Regiment", categorises = "jobs", startExpanded = true, color = Color(196, 196, 0, 225), canSee = function(ply) return true end, sortOrder = 9, } DarkRP.createCategory{ name = "212th Attack Batallion", categorises = "jobs", startExpanded = true, color = Color(225, 153, 51, 51), canSee = function(ply) return true end, sortOrder = 4, } DarkRP.createCategory{ name = "187th Legion", categorises = "jobs", startExpanded = true, color = Color(153, 0, 255, 255), canSee = function(ply) return true end, sortOrder = 5, } DarkRP.createCategory{ name = "104th Battalion", categorises = "jobs", startExpanded = true, color = Color(115, 115, 115, 115), canSee = function(ply) return true end, sortOrder = 6, } DarkRP.createCategory{ name = "91st Recon Corps", categorises = "jobs", startExpanded = true, color = Color(230, 57, 0, 0), canSee = function(ply) return true end, sortOrder = 12, } DarkRP.createCategory{ name = "41st Elite Corps", categorises = "jobs", startExpanded = true, color = Color(0, 153, 51, 51), canSee = function(ply) return true end, sortOrder = 13, } DarkRP.createCategory{ name = "Medical Corps.", categorises = "jobs", startExpanded = true, color = Color(204, 0, 204, 204), canSee = function(ply) return true end, sortOrder = 14, } DarkRP.createCategory{ name = "Event Classes", categorises = "jobs", startExpanded = true, color = Color(204, 0, 204, 204), canSee = function(ply) return true end, sortOrder = 100, }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement