Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DarkRP.createCategory{
- name = "Gouvernement", -- 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.
- }
- DarkRP.createCategory{
- name = "Légal",
- categorises = "jobs",
- startExpanded = false,
- color = Color(0, 107, 0, 255),
- canSee = fp{fn.Id, true},
- sortOrder = 255,
- }
- DarkRP.createCategory{
- name = "Illégal",
- categorises = "jobs",
- startExpanded = false,
- color = Color(0, 107, 0, 255),
- canSee = fp{fn.Id, true},
- sortOrder = 255,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement