Troubleshooting

1. You lack the entitlements required to use

This error usually occurs when users attempt to use a specific feature or resource without having the necessary permissions (entitlements).

1.1 Logging in with the wrong account or organization

Make sure you are not logging in with the wrong user or organization account.

1.2 You purchased the product from the correct account, but you cannot use it.

You have just purchased the product. If you have not restarted your server after purchase, you must restart the server so that Fivem can verify the product ID.

2. The metadata for the keys is not visible

If you are using ox_inventory, metadata data will appear automatically, but for other inventories, you will need to set it manually.

For Exampale:

qb-inventory/html/app.js
case "vehiclekeys":
    return `<p><strong>Plate: </strong><span>${itemData.info.plate}</span></p><br />
    <p><strong>SSN: </strong><span>${itemData.info.ssn}</span>`;

3. How do I adapt the script to my own server?

If you are using one of the qb or qbox frameworks, you are in luck because you can easily integrate the 0r-vehiclekeys script into your server by editing the fxmanifest file.

0r-vehiclekeys/fxmanifest.lua
-- provide 'qb-vehiclekeys' -- If you are using qb-core, remove this code snippet from the comment line.
-- provide 'qbx_vehiclekeys' -- If you are using qbx_core, remove this code snippet from the comment line.

Last updated