Metadata

Setup metadata for QBCore framework

qb-core

You should add the code snippet inside CheckPlayerData() (line 572 on version v.1.22.3) in qbx_core/server/player.lua:

playerData.metadata.pilotjob = playerData.metadata.pilotjob or {
        flights = 0,
        level = 1
}

Last updated