config.lua

Config = {}

Config.FrameworkSettings = {
    ['qb-core'] = {
        use = true,
        name = 'qb-core',
    },
    ['esx'] = {
        use = false,
        name = 'es_extended',
    },
}
Config.PhoneItem = 'phone'
Config.JobsAllowed = { 'police' }

Config.Notification = 'okok' -- okok, qb, esx, quasar or customize your own in client/custom.lua

Config.Inventory = 'ox_inventory' -- 'ox_inventory' or 'default' or you can customize it yourself in client/custom.lua, default uses playerdata.

Config.CommandSettings = {
    EnableChatCommand = false,
    ChatCommand = 'track',
}

Config.ThirdEyeSettings = {
    EnableThirdEye = true,
    ThirdEyeName = 'qb-target', -- 'qb-target' or 'ox_target'
    ThirdEyeLocations = {
        vector3(1211.42, -3251.29, 7.10),
    }
}

Config.InputSettings = {
    InputSystem = 'qb-input', -- 'ox_lib' or 'qb-input'
}


Config.TrackingSettings = {
    PhoneBlipSprite = 441,
    PhoneBlipColor = 25,
    BlipDuration = 20,
}

Config.LanguageSettings = {
    MessageType = {
        Error = 'error',
        Success = 'success',
        Info = 'primary',
    },
    Messages = {
        EnterPhone = 'Enter phone number to track',
        PhoneNumber = 'Phone number',
        InputError = 'You must enter something!',
        DontHavePhone = 'Could not find the persons location!',
        JobRestriction = 'Only the police can use this!',
        AccessRequest = 'Request phone tracking',
        PhoneTracked = 'The following phone has been tracked: ',
        PhoneTrackedBlip = 'Tracked phone: ',
    }
}


Config.Phone = 'lb-phone' -- lb-phone, qs-smartphone-pro or default which uses the playerdata from the database should work with most of the other phones.

Last updated