Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * General configuration
- **/
- -- Main title of the F4 menu. Can be your server's name or whatever.
- LOUNGE_F4.Title = "SyndicateRP"
- -- Pages to display on the F4 menu.
- LOUNGE_F4.Pages = {
- {
- id = "Tableau de bord", -- Used internally
- bg = Color(255, 168, 56), -- The background of the page. The default is 52, 73, 94
- text = "dashboard", -- The text to display on the left (links to the language table)
- icon = Material("shenesis/f4menu/house.png", "noclamp smooth"), -- The icon of the button
- enable = true, -- Whether this page should be listed or not
- },
- {
- id = "jobs",
- bg = Color(52, 73, 94),
- text = "jobs",
- icon = Material("shenesis/f4menu/user.png", "noclamp smooth"),
- enable = false,
- },
- {
- id = "Commandes",
- bg = Color(255, 168, 56),
- text = "commands",
- icon = Material("shenesis/f4menu/document.png", "noclamp smooth"),
- enable = true,
- },
- {
- id = "Achats",
- bg = Color(255, 168, 56),
- text = "purchase",
- icon = Material("shenesis/f4menu/basket.png", "noclamp smooth"),
- enable = true,
- },
- // Bottom buttons
- {id = "website", text = "site", icon = Material("shenesis/f4menu/earth.png", "noclamp smooth"),
- callback = function()
- gui.OpenURL(LOUNGE_F4.Website)
- return false
- end,
- display = function()
- return LOUNGE_F4.Website and LOUNGE_F4.Website ~= ""
- end,
- enable = true,
- bottom = true,
- },
- {id = "donate", text = "boutique", icon = Material("shenesis/f4menu/star.png", "noclamp smooth"),
- callback = function()
- gui.OpenURL(LOUNGE_F4.Donate)
- return false
- end,
- display = function()
- return LOUNGE_F4.Donate and LOUNGE_F4.Donate ~= ""
- end,
- enable = true,
- bottom = true,
- },
- {id = "steamgroup", text = "groupe steam", icon = Material("shenesis/f4menu/steam.png", "noclamp smooth"),
- callback = function()
- gui.OpenURL(LOUNGE_F4.SteamGroup)
- return false
- end,
- display = function()
- return LOUNGE_F4.SteamGroup and LOUNGE_F4.SteamGroup ~= ""
- end,
- enable = true,
- bottom = true,
- },
- }
- -- (Advanced) Icon to display for custom pages added via the F4MenuTabs hook.
- LOUNGE_F4.CustomTabNameIcon = {
- // Any custom tab called "Gangs" will have the user icon.
- ["Gangs"] = Material("shenesis/f4menu/user.png", "noclamp smooth"),
- }
- -- Website to open when clicking on the "Website" button
- -- Leave empty to hide the website button.
- LOUNGE_F4.Website = "http://www.syndicateroleplay.fr/"
- -- Website to open when clicking on the "Donate" button
- -- Leave empty to hide the donate button.
- LOUNGE_F4.Donate = "http://www.syndicateroleplay.fr/boutique/splash.php"
- -- Website to open when clicking on the "Steam Group" button
- -- Leave empty to hide the steam group button.
- LOUNGE_F4.SteamGroup = "https://steamcommunity.com/groups/syndicate_roleplay"
- -- Usergroups which are part of your server's staff.
- -- Used to count the number of online staff members in the Dashboard.
- LOUNGE_F4.StaffUsergroups = {
- ["founder"] = true,
- ["superadmin"] = true,
- }
- -- Display the "Food" tab (if possible) in the Purchase page.
- LOUNGE_F4.EnableFoodTab = true
- -- What method to use to retrieve the user group.
- -- Leave to 0 if you use ULX or no special admin mode listed below
- -- Set to 1 if you use ServerGuard
- LOUNGE_F4.UsergroupMode = 0
- -- If for some reason you don't use money on your server, set this to true to hide money displays in tabs
- LOUNGE_F4.NoMoneyLabels = false
- -- Set this to true to not hide JOBS with failed customChecks.
- LOUNGE_F4.KeepFailedCustomCheckJobs = false
- -- Set this to true to not hide ENTITIES with failed customChecks.
- LOUNGE_F4.KeepFailedCustomCheckEnts = false
- -- Order to use when sorting jobs.
- -- 0: Do not sort jobs; display them in the order they're created.
- -- 1: Sort them by NAME from A to Z.
- -- 2: Sort them by NAME from Z to A.
- -- 3: Sort them by SALARY from the highest to lowest.
- -- 4: Sort them by SALARY from the lowest to highest.
- LOUNGE_F4.JobsSortingOrder = 0
- -- Order to use when sorting purchase items.
- -- 0: Do not sort items; display them in the order they're created.
- -- 1: Sort them by NAME from A to Z.
- -- 2: Sort them by NAME from Z to A.
- -- 3: Sort them by PRICE from the highest to lowest.
- -- 4: Sort them by PRICE from the lowest to highest.
- LOUNGE_F4.ItemsSortingOrder = 0
- -- Job graph in Dashboard: Display the jobs by category rather than by each job
- -- This will not work on older versions of DarkRP that do not support categories!
- -- Note: You will also not be able to click on the bars to quickly switch jobs.
- LOUNGE_F4.JobGraphCategories = false
- -- Purchase tab: display entities by their category. Only available on recent DarkRP versions.
- LOUNGE_F4.PurchaseByCategories = false
- -- Jobs tab: always ask for model, even if there's only one in the job?
- LOUNGE_F4.AlwaysModelPrompt = false
- -- vrondakis Leveling-System: Hide JOBS with a level too high for the player.
- LOUNGE_F4.HideHighLevelJobs = true
- -- vrondakis Leveling-System: Hide ENTITIES with a level too high for the player.
- LOUNGE_F4.HideHighLevelEnts = true
- /**
- * Style configuration
- **/
- -- Font to use for normal text throughout the F4 menu.
- LOUNGE_F4.Font = "Circular Std Medium"
- -- Font to use for bold text throughout the F4 menu.
- LOUNGE_F4.FontBold = "Circular Std Bold"
- -- Color sheet. Only modify if you know what you're doing
- LOUNGE_F4.Style = {
- header = Color(52, 152, 219),
- bg = Color(52, 73, 94), -- Remember to change the color of the page backgrounds too!
- inbg = Color(44, 62, 80),
- close_hover = Color(231, 76, 60),
- hover = Color(255, 255, 255, 10),
- hover2 = Color(255, 255, 255, 5),
- text = Color(255, 255, 255),
- text_down = Color(0, 0, 0),
- textentry = Color(236, 240, 241),
- menu = Color(127, 140, 141),
- }
- -- Set this to true to alter the looks of jobs with failed customChecks.
- -- Setting it to true will disable the normal looks of the job button.
- LOUNGE_F4.DoPaintJobFailedCheck = false
- -- Advanced: custom paint function for jobs with failed customChecks.
- -- Only modify if you know what you're doing.
- LOUNGE_F4.PaintJobFailedCheck = function(me, w, h)
- local b = LOUNGE_F4.DoPaintJobFailedCheck
- if (b) then
- draw.RoundedBox(4, 0, 0, w, h, LOUNGE_F4.Style.close_hover) -- Sets the background of the job to red if the customCheck is failed.
- end
- return b
- end
- /**
- * Language configuration
- **/
- -- "Clean" Usergroup names to display on the dashboard.
- -- Usergroups not in this table will be displayed directly, which may not look good.
- LOUNGE_F4.CleanUsergroups = {
- ["user"] = "User",
- ["respected"] = "Respected",
- ["donator"] = "Donator",
- ["vip"] = "VIP",
- ["admin"] = "Administrator",
- ["superadmin"] = "Super Administrator",
- }
- -- Various strings used throughout the F4 Menu. Change them to your language here.
- -- %s and %d are special strings replaced with relevant info, keep them in the string!
- // FRENCH Translation: https://pastebin.com/6jYRtxYW
- LOUNGE_F4.Language = {
- dashboard = "Menu principal",
- jobs = "Emplois",
- commands = "Commandes",
- purchase = "Acheter",
- website = "Site internet",
- donate = "Faire un don",
- steamgroup = "Groupe Steam",
- players = "Joueurs",
- staff_online = "Modérateurs en ligne",
- job_graph = "Graphique des emplois",
- server_economy = "Économie du serveur",
- money_in_circulation = "Monnaie en circulation",
- richest_player_online = "Joueur le plus riche",
- model_selection = "Choix du modèle",
- entities = "Entités",
- shipments = "Cargaisons",
- vehicles = "Véhicules",
- ammo = "Munitions",
- food = "Nourriture",
- level_x = "Niveau %d",
- toggle = "Alterner",
- click_to_become_x = "Cliquer pour devenir %s",
- salary = "Salaire",
- weapons = "Armes",
- vote_to_become_x = "Voter pour devenir %s",
- become_x = "Devenir %s",
- free = "Gratuit",
- search = "Chercher",
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement