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

πŸ–₯️Standalone

Item creation

If you don't want to use the command or a phone system, you can use a phone item instead.

Add the following lines to to qb-core/shared/items.lua

['taxiphone'] = { ['name'] = 'taxiphone', ['label'] = 'Taxi phone', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'taxiphone.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = "There is an app on that."},

Add the image file to qb-inventory/html/images/taxiphone.png

Add the following code to the end of public\api\sv_server.lua

After you have successfully added the item you can disable the command by setting commandsEnabled to false in public\config\client\cl_config.lua

public\config\client\cl_config.lua

Last updated