qbcore-framework / qb-cityhall

City Hall Script For QB-Core
GNU General Public License v3.0
25 stars 186 forks source link

Add Job Export #77

Closed KamuiKody closed 1 year ago

KamuiKody commented 2 years ago

this adds an export to add jobs to city hall. I found this convenient since qbcore allows for exports to import jobs. This would allow more outside resources to be easily drag and drop. This adds qb-cityhall as a dependency for anything that calls the export. There is also a check added to see if the job already exists in the table or not. I have tested this a couple times and havent found any issues with it thus far.

Questions (please complete the following information):

GhzGarage commented 2 years ago

This looks useful but i think there's more to adding the job than just this

KamuiKody commented 2 years ago

There was an update to make it so you dont have to change half the file anymore to add a job which allows for this to work the way it does