This is the configuration that you can give to this script to modify it to your liking
Change in Config.UseJobs if you want to work with jobs
Config.UseJobs = true
Config File
Config = {}
Locales = {}
Config.Debug = false -- Display your traget in target option UI
Config.UseCommand = 'custombox'
Config.UseJobs = true
Config.JobsToUse = {'mechanic', 'ambulance'}
Locales.Languages = {
['GreatBox'] = 'Great, you sent a surprise box to him id: ',
['NoEnoughItems'] = 'You do not have enough items.',
['NoAuthJob'] = 'You do not have a job suitable for packing boxes.',
['CustomMessageHelperCommand'] = 'Make your custom box.',
}
function Notify(msg, typeNotify)
local QBCore = exports['qb-core']:GetCoreObject()
QBCore.Functions.Notify(msg, typeNotify)
end