Metadata

Setup metadata for QBCore framework

qb-core

You should add the code snippet inside QBCore.Player.CheckPlayerData() (line 93) in qb-core/server/player.lua:

PlayerData.metadata['pilotjob'] = PlayerData.metadata['pilotjob'] or {
	flights = 0,
	level = 1,	
}

Last updated