Hello,
I’m looking for a developer to make some modifications and adjust some scripts. Down belowe you’ll find dependencies needed as well as summary of the problem.
dependencies:
Framework: QBCore
Phone: GitHub - KevinGirardx/qb-phone: This is a edited version of https://github.com/KevinGirardx/qb-phone-npstyle
Groups: GitHub - Project-Sloth/ps-playergroups: A tool to create and get data for player groups.
Inventory: GitHub - overextended/ox_inventory: Slot-based inventory with metadata. (for the item check)
Helper functions: GitHub - overextended/ox_lib: Modules to utilise in other resources via imports and exports.
Summary:
I need the functionalities of the phone’s employment/groups app to be replaced by ps-playergroups. That will require removing some UI elements and adding some new ones in the phone app.
The UI should resemble ps-playergroups, but there should be another button added which would lead the player to the jobs menu. The Jobs menu should have a checklist of the sort that prompts the player to select the jobs he wishes to queue up for. If a player has a VPN in his inventory he should also be given the option to queue up for illegal jobs.
If at least one job is selected player’s current task should change to “in a queue” and the list of jobs players queued up for should be stored in a table on the leader’s client.
This data will later be used to queue the player for a specific job, but what’s important to add disregarding if the queue is working or not is an event that’ll receive purposed jobs by the queue.
An event is required that will get triggered by the queue and will provide the player with a job name.
This should trigger a notification on the phone similar to the “qb-phone:client:NewMailNotify” which will tell the player he received a new job. When the player opens his employment/group app and goes into the job menu the checklist, for the job he queued up for, should have two options next to it accept or decline. If the player accepts it a server event ‘dr-queue:server:queueAccepted’ gets triggered if he declines, the job offer gets cleared up and a server event ‘dr-queue:server:queueDeclined’ should be triggered
Checklist:
[ ] Intergrating ps-playergroups into the phone
[ ] Adding the jobs menu and checklist
[ ] Required item (VPN) to see illegal jobs
[ ] Extra functionalities - Changing the current task, updating the queued jobs list
[ ] Logic behind triggering the events/checklist
If you have any questions or have a quote to send me, please do so by DM-ing me on discord: Dodo#7010. We’ll also provide you with mockup for the front end adjustments.
Thank you.