kylemcshea/dream-postal

Lock script to specific job

Closed this issue · 1 comments

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;

its in baby!