qbcore-framework / qb-policejob

Police Job & Evidence System For QB-Core :police_officer: :policewoman:
GNU General Public License v3.0
71 stars 378 forks source link

[BUG] - Client/Heli.lua:141: Attempt to index a nil value (global 'PlayerJob') #497

Closed ChlxeThomson closed 7 months ago

ChlxeThomson commented 8 months ago

Describe the bug Fresh install of the latest version, suddenly get F8 error. I'm using latest QBCore framework (less than 3 weeks old) and my job for Police is called 'Police'

Expected behavior for the script to work with no errors

Screenshots

Screenshot 2024-01-29 192223 Screenshot 2024-01-29 192232

Questions (please complete the following information):

Additional context Would like help please

Pewwww53 commented 8 months ago

probably the PlayerJob variable is undefined can send the whole script?

ChlxeThomson commented 8 months ago

probably the PlayerJob variable is undefined can send the whole script?

How can i send it you, whats your Discord, i'll send it that way

Pewwww53 commented 8 months ago

Pewww#0001

ChlxeThomson commented 8 months ago

Pewww#0001

Added you, send me message when you got me

goldeneyegsm commented 8 months ago

Please let us know when fixed

GhzGarage commented 7 months ago

@ChlxeThomson Did this issue get resolved?

goldeneyegsm commented 7 months ago

yes. thank you

On Sun, Feb 11, 2024 at 5:02 PM Kakarot @.***> wrote:

@ChlxeThomson https://github.com/ChlxeThomson Did this issue get resolved?

— Reply to this email directly, view it on GitHub https://github.com/qbcore-framework/qb-policejob/issues/497#issuecomment-1937947846, or unsubscribe https://github.com/notifications/unsubscribe-auth/BF3MYEBAKZQKTNZYRQZBREDYTFS2ZAVCNFSM6AAAAABCP72PD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXHE2DOOBUGY . You are receiving this because you commented.Message ID: @.***>

ChlxeThomson commented 7 months ago

@ChlxeThomson Did this issue get resolved?

Yes it now fixed thank you