Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config, Lang = {}, {}
- -- _____ _____ _ _ ______ _____ _____ _ _______ ___ _____ _____ _____ _ _
- -- / __ \ _ | \ | || ___|_ _| __ \ | | | ___ \/ _ \_ _|_ _| _ | \ | |
- -- | / \/ | | | \| || |_ | | | | \/ | | | |_/ / /_\ \| | | | | | | | \| |
- -- | | | | | | . ` || _| | | | | __| | | | /| _ || | | | | | | | . ` |
- -- | \__/\ \_/ / |\ || | _| |_| |_\ \ |_| | |\ \| | | || | _| |_\ \_/ / |\ |
- -- \____/\___/\_| \_/\_| \___/ \____/\___/\_| \_\_| |_/\_/ \___/ \___/\_| \_/
- --Use "esx" or "qb"
- Config.Framework = 'qbcore' --esx, qbcore
- Config.FrameworkExport = 'qb-core' --esx:getSharedObject, qb-core
- Config.UseNewESXVersion = true --if you use the newest Esx version go to the fxmanifest.lua line 10 an remove the "--"
- --The command to be used by administrators to give multiple jobs to one person. Each person can have up to a maximum of three jobs at any one time.
- Config.JobCommand = 'setjob' --In this case it would be /setjob1 ID job, /setjob2 ID job, /setjob3 ID job
- --For ESX only - Permissions for administrators
- Config.PermissionsToSetJobs = { 'admin' }
- --For QB only - Set the licenses of the Administrators who will be able to use the command.
- Config.PermissionLicenses = { 'license:5da6a99esdasdasff66e9691dfaf21259ccb31520205702a9d9' }
- -- _ _ _____ _____ ___________ _____ _____ ___ _____ _____ _____ _ _ _____
- -- | \ | | _ |_ _|_ _| ___|_ _/ __ \ / _ \_ _|_ _| _ | \ | |/ ___|
- -- | \| | | | | | | | | | |_ | | | / \// /_\ \| | | | | | | | \| |\ `--.
- -- | . ` | | | | | | | | | _| | | | | | _ || | | | | | | | . ` | `--. \
- -- | |\ \ \_/ / | | _| |_| | _| |_| \__/\| | | || | _| |_\ \_/ / |\ |/\__/ /
- -- \_| \_/\___/ \_/ \___/\_| \___/ \____/\_| |_/\_/ \___/ \___/\_| \_/\____/
- --Set the EXPORT of the Notifications system you use. The export should be in the documentation or README of your notifications.
- Config.Notify = function(type, message) --Remember to respect the variables (type, message) must always appear the same in the export you put in.
- exports['okokNotify']:Alert("Multijob", message, 5000,
- type)
- end
- Config.ServerNotify = function(src, type, message) --Remember to respect the variables (src, type, message) must always appear the same in the export you put in.
- TriggerClientEvent('okokNotify:Alert', src, "Multijob", message, 5000, type)
- end
- -- _ _____ _____ ___ _____ _____ _____ _ _ _____
- -- | | | _ / __ \ / _ \_ _|_ _| _ | \ | |/ ___|
- -- | | | | | | / \// /_\ \| | | | | | | | \| |\ `--.
- -- | | | | | | | | _ || | | | | | | | . ` | `--. \
- -- | |___\ \_/ / \__/\| | | || | _| |_\ \_/ / |\ |/\__/ /
- -- \_____/\___/ \____/\_| |_/\_/ \___/ \___/\_| \_/\____/
- Config.Location = {
- position = vector3(-542.96, -207.84, 37.64),
- blip = {
- id = 369,
- color = 17,
- scale = 0.7,
- display = 2,
- name = 'Job Center'
- },
- npc = {
- coords = vector3(-542.96, -207.84, 37.64),
- heading = 219.12,
- model = 's_m_m_dockwork_01',
- range = 1.5
- },
- }
- -- _ ___ _ _ _____ _ _ ___ _____ _____
- -- | | / _ \ | \ | | __ \ | | |/ _ \| __ \| ___|
- -- | | / /_\ \| \| | | \/ | | / /_\ \ | \/| |__
- -- | | | _ || . ` | | __| | | | _ | | __ | __|
- -- | |____| | | || |\ | |_\ \ |_| | | | | |_\ \| |___
- -- \_____/\_| |_/\_| \_/\____/\___/\_| |_/\____/\____/
- Lang.alreadyjob = "You already have this job selected!"
- Lang.presse = "Press [E] to interact with the job center"
- Lang.changejob = "You changed your job to "
- Lang.setjob = "You have set your job to "
- Lang.permission = "You do not have permission to use this command."
- -- $$$$$\ $$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$$$\ $$\ $$\ $$$$$$$$\ $$$$$$\
- -- \__$$ |$$ __$$\ $$ __$$\ $$ __$$\ \__$$ __|$$ _____|$$ | $$ |\__$$ __|$$ __$$\
- -- $$ |$$ / $$ |$$ | $$ |$$ / \__| $$ | $$ | \$$\ $$ | $$ | $$ / \__|
- -- $$ |$$ | $$ |$$$$$$$\ |\$$$$$$\ $$ | $$$$$\ \$$$$ / $$ | \$$$$$$\
- -- $$\ $$ |$$ | $$ |$$ __$$\ \____$$\ $$ | $$ __| $$ $$< $$ | \____$$\
- -- $$ | $$ |$$ | $$ |$$ | $$ |$$\ $$ | $$ | $$ | $$ /\$$\ $$ | $$\ $$ |
- -- \$$$$$$ | $$$$$$ |$$$$$$$ |\$$$$$$ | $$ | $$$$$$$$\ $$ / $$ | $$ | \$$$$$$ |
- -- \______/ \______/ \_______/ \______/ \__| \________|\__| \__| \__| \______/
- Config.JobsList = {
- {
- salary = 1200, --Here the SALARY that will appear in the Interface. The actual salary will have to be modified inside your server in each "JOB"
- difficulty = 'MEDIUM', --Here is the Difficulty that will appear in the Interface
- label = 'Gardener', --The name that will appear on the Interface
- description = 'Lorem ipsum dolor', --The Job Description to be displayed in the Interface
- job = 'gardener', --The id of the job you will be given when you select the job
- },
- {
- salary = 1400,
- difficulty = 'HARD',
- label = 'Police',
- description = 'Lorem ipsum dolor',
- job = 'police',
- },
- {
- salary = 1600,
- difficulty = 'EASY',
- label = 'Ambulance',
- description = 'Lorem ipsum dolor',
- job = 'ambulance',
- },
- {
- salary = 1600,
- difficulty = 'MEDIUM',
- label = 'Mechanic',
- description = 'Lorem ipsum dolor',
- job = 'mechanic',
- },
- {
- salary = 1600,
- difficulty = 'HARD',
- label = 'UwU Cafe',
- description = 'Lorem ipsum dolor',
- job = 'uwu',
- },
- {
- salary = 1600,
- difficulty = 'HARD',
- label = 'Pizza This',
- description = 'Lorem ipsum dolor',
- job = 'pizzathis',
- },
- --Remember that you can add as many jobs as you want. Just copy and paste this snippet below the last job you have added.
- -- {
- -- salary = 1600,
- -- difficulty = 'EASY',
- -- label = 'Ambulance',
- -- description = 'Lorem ipsum dolor',
- -- job = 'ambulance',
- -- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement