Metadata

Setup metadata for QBCore framework

qb-core

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

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

qb-smallresources

You should remove the planes that you'll be using from qb-smallresources/config.lua (from Config.BlacklistedVehs table) OR they will not spawn.

Last updated