Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

[qb-target] Attempt to index a nil value #6

Closed
bedar89 opened this issue Dec 1, 2021 · 5 comments
Closed

[qb-target] Attempt to index a nil value #6

bedar89 opened this issue Dec 1, 2021 · 5 comments

Comments

@bedar89
Copy link

bedar89 commented Dec 1, 2021

Very nice script, but I'm unable to use qb-target with this script. I've followed all instructions, but I keep getting the error attempt to index a nil value (global QBCore).

/testmugshot and /testmugshotself work perfectly.

@Quinn101
Copy link
Contributor

Quinn101 commented Dec 1, 2021

Do you use an older version of QB? As we only use the update to method
local QBCore = exports['qb-core']:GetCoreObject()

@bedar89
Copy link
Author

bedar89 commented Dec 1, 2021

I'm using the latest QBCore (pulled all the latest updates 2 days ago - every 2 days)

@Quinn101
Copy link
Contributor

Quinn101 commented Dec 1, 2021

Can you please message me on discord? Quinn#2329

Makes it easier to debug when we can chat back and forth and share pictures quickly

@ericb160
Copy link

ericb160 commented Dec 1, 2021

yea i have the same problem. everything works but the target i get errors

@Quinn101
Copy link
Contributor

Quinn101 commented Dec 1, 2021

So it's your qb-target throwing the error? can you screenshot your F8 menu for me? @ericb160

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants