Closed kylemcshea closed 10 months ago
Got this idea from the following comment - "Would be cool to be able to lock it to a specific job like GoPostal or something"
Would need to do the following...
Make a getJobScript() that can grab job from either qb-core or esx and return the string of current job.
then make sure that current job is found in the CONFIG.WHITELISTED_JOBS table we make which is a table with following struct:
CONFIG.WHITELISTED_JOBS
[x: string]: boolean;
its in baby!
Got this idea from the following comment - "Would be cool to be able to lock it to a specific job like GoPostal or something"
Would need to do the following...
Make a getJobScript() that can grab job from either qb-core or esx and return the string of current job.
then make sure that current job is found in the
CONFIG.WHITELISTED_JOBS
table we make which is a table with following struct:[x: string]: boolean;