Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duty of players not being tracked (potential issue with QBCore bridge) #228

Closed
alberttheprince opened this issue Nov 6, 2023 · 0 comments
Labels
bug Something isn't working need repro This bug report needs confirmation

Comments

@alberttheprince
Copy link
Contributor

Summary

Duty not getting set correctly on server start

Reproduction

To reproduce this, you may need to be using older qbcore resources like jim-closed shops. But essentially what happens is:

  1. Have a resource that checks duty of players
  2. Start server
  3. Resource will not do actions dependent on players not being off duty or not online
  4. Set your job to a job that can go on/off duty
  5. Action (in this case a ped shop keeper) will spawn when you go off duty

Expected behavior

Expected behavior is that when no players are on for that specific job, the ped will spawn by default.

Actual behavior

Ped or action won't happen unless player is on the job and then actively goes off duty.

Additional context

This seems to be an issue with qb-core resources, have not tested it with qbox resources or others.

Last Updated

Today

Custom Resources

jim-closedshops

Resource Rename

Renaming is for weirdos

@alberttheprince alberttheprince added bug Something isn't working need repro This bug report needs confirmation labels Nov 6, 2023
@Manason Manason closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need repro This bug report needs confirmation
Projects
Status: Done
Development

No branches or pull requests

2 participants