🖥️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
Add this section to ox_inventory/data/items.lua
Add the image file to ox_inventory/web/images/taxiphone.png

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