Advertisement
Guest User

Untitled

a guest
May 16th, 2023
1,007
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.23 KB | None | 0 0
  1. Config, Lang = {}, {}
  2.  
  3. -- _____ _____ _ _ ______ _____ _____ _ _______ ___ _____ _____ _____ _ _
  4. -- / __ \ _ | \ | || ___|_ _| __ \ | | | ___ \/ _ \_ _|_ _| _ | \ | |
  5. -- | / \/ | | | \| || |_ | | | | \/ | | | |_/ / /_\ \| | | | | | | | \| |
  6. -- | | | | | | . ` || _| | | | | __| | | | /| _ || | | | | | | | . ` |
  7. -- | \__/\ \_/ / |\ || | _| |_| |_\ \ |_| | |\ \| | | || | _| |_\ \_/ / |\ |
  8. -- \____/\___/\_| \_/\_| \___/ \____/\___/\_| \_\_| |_/\_/ \___/ \___/\_| \_/
  9.  
  10. --Use "esx" or "qb"
  11. Config.Framework = 'qbcore' --esx, qbcore
  12. Config.FrameworkExport = 'qb-core' --esx:getSharedObject, qb-core
  13. Config.UseNewESXVersion = true --if you use the newest Esx version go to the fxmanifest.lua line 10 an remove the "--"
  14.  
  15. --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.
  16. Config.JobCommand = 'setjob' --In this case it would be /setjob1 ID job, /setjob2 ID job, /setjob3 ID job
  17. --For ESX only - Permissions for administrators
  18. Config.PermissionsToSetJobs = { 'admin' }
  19. --For QB only - Set the licenses of the Administrators who will be able to use the command.
  20. Config.PermissionLicenses = { 'license:5da6a99esdasdasff66e9691dfaf21259ccb31520205702a9d9' }
  21.  
  22. -- _ _ _____ _____ ___________ _____ _____ ___ _____ _____ _____ _ _ _____
  23. -- | \ | | _ |_ _|_ _| ___|_ _/ __ \ / _ \_ _|_ _| _ | \ | |/ ___|
  24. -- | \| | | | | | | | | | |_ | | | / \// /_\ \| | | | | | | | \| |\ `--.
  25. -- | . ` | | | | | | | | | _| | | | | | _ || | | | | | | | . ` | `--. \
  26. -- | |\ \ \_/ / | | _| |_| | _| |_| \__/\| | | || | _| |_\ \_/ / |\ |/\__/ /
  27. -- \_| \_/\___/ \_/ \___/\_| \___/ \____/\_| |_/\_/ \___/ \___/\_| \_/\____/
  28.  
  29. --Set the EXPORT of the Notifications system you use. The export should be in the documentation or README of your notifications.
  30. Config.Notify = function(type, message) --Remember to respect the variables (type, message) must always appear the same in the export you put in.
  31. exports['okokNotify']:Alert("Multijob", message, 5000,
  32. type)
  33. end
  34. 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.
  35. TriggerClientEvent('okokNotify:Alert', src, "Multijob", message, 5000, type)
  36. end
  37.  
  38. -- _ _____ _____ ___ _____ _____ _____ _ _ _____
  39. -- | | | _ / __ \ / _ \_ _|_ _| _ | \ | |/ ___|
  40. -- | | | | | | / \// /_\ \| | | | | | | | \| |\ `--.
  41. -- | | | | | | | | _ || | | | | | | | . ` | `--. \
  42. -- | |___\ \_/ / \__/\| | | || | _| |_\ \_/ / |\ |/\__/ /
  43. -- \_____/\___/ \____/\_| |_/\_/ \___/ \___/\_| \_/\____/
  44.  
  45. Config.Location = {
  46. position = vector3(-542.96, -207.84, 37.64),
  47. blip = {
  48. id = 369,
  49. color = 17,
  50. scale = 0.7,
  51. display = 2,
  52. name = 'Job Center'
  53. },
  54. npc = {
  55. coords = vector3(-542.96, -207.84, 37.64),
  56. heading = 219.12,
  57. model = 's_m_m_dockwork_01',
  58. range = 1.5
  59. },
  60. }
  61.  
  62. -- _ ___ _ _ _____ _ _ ___ _____ _____
  63. -- | | / _ \ | \ | | __ \ | | |/ _ \| __ \| ___|
  64. -- | | / /_\ \| \| | | \/ | | / /_\ \ | \/| |__
  65. -- | | | _ || . ` | | __| | | | _ | | __ | __|
  66. -- | |____| | | || |\ | |_\ \ |_| | | | | |_\ \| |___
  67. -- \_____/\_| |_/\_| \_/\____/\___/\_| |_/\____/\____/
  68.  
  69. Lang.alreadyjob = "You already have this job selected!"
  70. Lang.presse = "Press [E] to interact with the job center"
  71. Lang.changejob = "You changed your job to "
  72. Lang.setjob = "You have set your job to "
  73. Lang.permission = "You do not have permission to use this command."
  74.  
  75. -- $$$$$\ $$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$$$\ $$\ $$\ $$$$$$$$\ $$$$$$\
  76. -- \__$$ |$$ __$$\ $$ __$$\ $$ __$$\ \__$$ __|$$ _____|$$ | $$ |\__$$ __|$$ __$$\
  77. -- $$ |$$ / $$ |$$ | $$ |$$ / \__| $$ | $$ | \$$\ $$ | $$ | $$ / \__|
  78. -- $$ |$$ | $$ |$$$$$$$\ |\$$$$$$\ $$ | $$$$$\ \$$$$ / $$ | \$$$$$$\
  79. -- $$\ $$ |$$ | $$ |$$ __$$\ \____$$\ $$ | $$ __| $$ $$< $$ | \____$$\
  80. -- $$ | $$ |$$ | $$ |$$ | $$ |$$\ $$ | $$ | $$ | $$ /\$$\ $$ | $$\ $$ |
  81. -- \$$$$$$ | $$$$$$ |$$$$$$$ |\$$$$$$ | $$ | $$$$$$$$\ $$ / $$ | $$ | \$$$$$$ |
  82. -- \______/ \______/ \_______/ \______/ \__| \________|\__| \__| \__| \______/
  83.  
  84. Config.JobsList = {
  85. {
  86. 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"
  87. difficulty = 'MEDIUM', --Here is the Difficulty that will appear in the Interface
  88. label = 'Gardener', --The name that will appear on the Interface
  89. description = 'Lorem ipsum dolor', --The Job Description to be displayed in the Interface
  90. job = 'gardener', --The id of the job you will be given when you select the job
  91. },
  92. {
  93. salary = 1400,
  94. difficulty = 'HARD',
  95. label = 'Police',
  96. description = 'Lorem ipsum dolor',
  97. job = 'police',
  98. },
  99. {
  100. salary = 1600,
  101. difficulty = 'EASY',
  102. label = 'Ambulance',
  103. description = 'Lorem ipsum dolor',
  104. job = 'ambulance',
  105. },
  106. {
  107. salary = 1600,
  108. difficulty = 'MEDIUM',
  109. label = 'Mechanic',
  110. description = 'Lorem ipsum dolor',
  111. job = 'mechanic',
  112. },
  113. {
  114. salary = 1600,
  115. difficulty = 'HARD',
  116. label = 'UwU Cafe',
  117. description = 'Lorem ipsum dolor',
  118. job = 'uwu',
  119. },
  120. {
  121. salary = 1600,
  122. difficulty = 'HARD',
  123. label = 'Pizza This',
  124. description = 'Lorem ipsum dolor',
  125. job = 'pizzathis',
  126. },
  127.  
  128. --Remember that you can add as many jobs as you want. Just copy and paste this snippet below the last job you have added.
  129.  
  130. -- {
  131. -- salary = 1600,
  132. -- difficulty = 'EASY',
  133. -- label = 'Ambulance',
  134. -- description = 'Lorem ipsum dolor',
  135. -- job = 'ambulance',
  136. -- }
  137.  
  138. }
  139.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement