πŸ•΅οΈβ€β™‚οΈUsage

  • Approaching the Shop: When a player is near a shop location (defined in Config.Shops), a help prompt appears showing Config.ShopText. Pressing the interaction key (usually E) will trigger the shop UI.

  • Purchasing Items: Within the shop UI, players can browse items by category (as defined by Config.CategoryOrder and Config.ShopItems). They can choose to pay either by cash or bank card. The script uses framework-specific methods (ESX or QBCore) to check funds and process the purchase.

  • Custom Notifications: If custom notification functions are defined in Config.HelpNotifyFunction and Config.NotifyFunction, those will be used; otherwise, the script falls back to the default notifications provided by your framework.

  • Discord Integration: Upon server start, item prices are finalized (using FinalizeItemPrices()) and a price update embed is sent to your Discord channel via the webhook in Config.Discord.

Last updated