qbcore-framework / qb-radio

Radio Script With UI
GNU General Public License v3.0
22 stars 122 forks source link

fix(client): Properly update PlayerData #16

Closed BerkieBb closed 2 years ago

evanillaa commented 2 years ago

What task does this event do? QBCore:Player:SetPlayerData @BerkieBb

BerkieBb commented 2 years ago

What task does this event do? QBCore:Player:SetPlayerData @BerkieBb

It's the event that updates all playerdata, it gets called everytime playerdata is updated, even when the job gets updated, the onjobupdate event and such is just there to do job specific actions when only the job changes instead of all playerdata, but in this case you need to update all playerdata