qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
50 stars 377 forks source link

[SECURITY] Secured Trunk and Glovebox #380

Closed r0adra93 closed 1 year ago

r0adra93 commented 1 year ago

Converted the the trunk and glovebox items events into functions and exports.

Description

Replaced the glovebox and trunk events with functions and exports. Set it up in qb-jobs. Needs to be merged along with qb-policejob: https://github.com/qbcore-framework/qb-policejob/pull/422 As the trunk script is insecure and it relies on the security update.

Checklist

S33G commented 1 year ago

This PR being merged has created further issues: https://github.com/qbcore-framework/qb-inventory/pull/422

r0adra93 commented 1 year ago

This PR being merged has created further issues: #422

I don't know if it's the act of this PR being merged or the other merges that happened after it. This worked perfectly, then after I pulled an update after this PR it all broke and I said to hell with this and went back to using the unsecure method in qb-jobs. Since the unsecure method was put back into this resource.