FAQ / Troubleshooting
Q: The script canβt detect ESX/QB.
A: Ensure that es_extended or qb-core is started before this resource. If auto-detection fails, manually set Config.Framework
to either "esx"
or "qb"
in your configuration.
Q: Players cannot purchase itemsβeven when they have enough money.
A: Verify that the player's cash or black money is being correctly checked. Ensure that your framework's money methods are properly integrated, and that the price ranges and payment method (cash or black money) are correctly defined in Config.Price
and Config.PaymentMethods
.
Q: The shop does not open when I press the interaction key.
A: Confirm you are within the specified interaction distance of a shop location as defined in Config.Shops
. Also, ensure that your keybindings arenβt conflicting with other resources and that Config.ShopText
is correctly set up to display the prompt.
Q: Item prices are not updating or Discord notifications are not sent.
A: Make sure that the function FinalizeItemPrices()
is being called on server startup and that your Config.Discord.Webhook
is a valid URL. Check your server console for any HTTP or JSON errors.
Q: The shop appears closed outside of operating hours.
A: Verify that your Config.OpenHour
and Config.CloseHour
are set to your desired times, and confirm that your serverβs system time is accurate. If a player tries to access the shop outside these hours, they will receive the closed notification.
Last updated