Job Center
Installation
warning
We highly recommend you to read carefully each step written below.
Don't skip any step, it could lead to a non-functioning script.
Follow these steps to install the script
- Download the script from KeyMaster.
- Download the "Library" script from KeyMaster.
- Drag the
s1n_lib
folder into yourresources
directory. - Rename the
s1n_lib-....
folder tos1n_lib
. - Drag the
s1n_jobcenter-...
folder into yourresources
directory. - Rename the
s1n_jobcenter-....
folder tos1n_jobcenter
. - Start the lib by adding
start s1n_lib
to yourserver.cfg
file. - Start the script by adding
start s1n_jobcenter
afterqb-core
(if you use QBCore) ores_extended
(if you use ESX) has been started to yourserver.cfg
file. - Configure the script by modifying the values in the
config.lua
file located in thes1n_jobcenter
script folder. - Configure the library by modifying the values in all the files contained in the
configuration/
folder located in thes1n_lib/
script folder.
Configuration
By default there is three language translations, french, english and german that you can find in the languages directory. To load the one you want, please modify the fxmanifest file and change the "languages/english.lua" to whatever file in LUA with same structure.
note
Note for modifications on the script:
client/api.lua will allow you to:
- custom notifications
Client Event : "RESOURCE_NAME:openUI" will allow you to show the job center UI. Example : TriggerEvent("s1n_jobcenter:openUI")