Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Question Playerdata problem

lilunknown

Member
Joined
Jul 27, 2023
Messages
1
Reaction score
0
Points
156
Location
hell
I am using an old QBCore script and when I try to trigger the script I get an error like this "
Code:
attempt to index a nil value (global 'PlayerData')
"
 

ithorfsu

Silver Elite
Joined
Dec 4, 2021
Messages
20
Reaction score
215
Points
306
Location
Ireland
Do you mean you're using an old qbcore script with the new qb framework? Or old framework and old script?

If it's an old script and new framework, it's fixable. You will need to update the calls and events within the script and declare the core object with the new export.
 
Top