For the complete documentation index, see llms.txt. This page is also available as Markdown.

Inventory config

-----------------------------------------------
-- Restricted Item / Item Restreint
-----------------------------------------------
Config.RestrictedItem = {
    enabled = true,
    itemName = 'carplay_device'
}
-- FR: Si enabled = true, les joueurs doivent avoir l'item pour utiliser CarPlay
-- EN: If enabled = true, players must have the item to use CarPlay
-- itemName: Nom de l'item requis

For the system to function at 100%, please place these items in their respective inventories.

QBCore Items

carplay_device = { name = 'carplay_device', label = 'CarPlay Device', weight = 500, type = 'item', image = 'carplay_device.png', unique = false, useable = true, shouldClose = true, description = 'A device that allows you to use CarPlay and play music in your vehicle' },

OX-Inventory Items

['carplay_device'] = {
    label = 'CarPlay Device',
    weight = 500,
    stack = true,
    close = true,
    description = 'A CarPlay device to listen to music in your vehicle',
    client = {
        image = 'carplay_device.png',
    }
}

QS-Inventory Items

Last updated