Qbox-project / qbx_core

http://qbox-project.github.io
Other
45 stars 109 forks source link

refactor(server/player): refactor job/gang management API responses #468

Closed jellyton255 closed 1 month ago

jellyton255 commented 1 month ago

Description

The current jobs/gang update API was discussed in Discord, these are my proposed changes for the API. It's the same format that ox_inventory uses for several functions (https://overextended.dev/ox_inventory/Functions/Server#additem) and based on my experience it's the most straightforward way of handling failed calls.

Checklist

Manason commented 1 month ago

Closing in favor of https://github.com/Qbox-project/qbx_core/pull/469 which does the same thing