[PAİD] Pr-ShopCargo



Tebex
my other script
[PAİD] QBCore & ESX PozMod Animation Position

Dynamic Menu System: The player’s inventory is checked to determine whether they have a VIP card, and a corresponding menu is displayed to them based on this.

NUI Interaction: Menus are displayed via NUI (browser-based user interface), allowing players to interactively use them.

Item Ordering: Players can choose desired items from the menu and place an order.

Courier System: Items are delivered to the player by NPC couriers. Players can tip, thank, or complain about this courier.

Money Check: It is checked whether the player has enough money. If they have sufficient funds, the cost of the meal is deducted from their account.

Security Features: Players are prevented from shooting or using certain weapons.

Dynamic Animations: The courier employs various animations when delivering items.

Dynamic Notifications: Players receive notifications related to ongoing actions.

Database Interaction: The script interacts with the database to check if players possess VIP cards.

Expandability: The script is designed in a modular fashion, allowing server owners to easily expand its features and functionality.

Elevate your FiveM server with this high-quality, dynamic “VIP Market” script! Offer unique advantages to players with VIP cards, creating a distinct experience amongst your gamers. This script is tailored to allow only those with VIP cards to purchase exclusive items. Moreover, with this script, your item orders will be delivered by couriers, and players will be able to engage in various interactions with these couriers. With its database integration and expandable structure, this script is a perfect choice for your server!

config

Config = {}
Config.CommandName = "siparis"


Config.FoodItems = {
    {name = 'tosti', label = 'tosti', price = 15}, 
    {name = 'pizza', label = 'Pizza', price = 15},  
    {name = 'crisps', label = 'crisps', price = 15}, 
    {name = 'water_bottle', label = 'su', price = 15}, 
    {name = 'beandonut', label = 'donut', price = 15}, 
    {name = 'whiskey', label = 'viski', price = 15}, 

    
    
    
    -- Diğer öğeleri bu formatta ekleyebilirsiniz
}

Config.ReviveTime = 30000  --in msec

Config.VIPFoodItems = {
    {name = 'tosti', label = 'tosti', price = 15}, 
    {name = 'pizza', label = 'Pizza', price = 15},  
    {name = 'crisps', label = 'crisps', price = 15}, 
    {name = 'water_bottle', label = 'su', price = 15}, 
    {name = 'beandonut', label = 'donut', price = 15}, 
    {name = 'whiskey', label = 'viski', price = 15}, 

    
    { name = 'phone', label = 'phone', price = 50 },
    { name = 'radio', label = 'radio', price = 45 },
    { name = 'gps', label = 'gps', price = 45 },

    -- ... diğer VIP yemek öğeleri
}


Config.MenuTitles = {
    VIP = "VIP Order",
    Regular = "Regular Order"
}

Config.Menu = {
    Title = "Pizza Order",
    TotalCostDisplay = "Total Cost: $",
    CreateOrderHeader = "CREATE ORDER",
    DefaultMenuTitle = "Default Title",
    OrderButton = "Place Order",
    CloseMenuButton = "Close Menu"
}

Config.Notifications = {
    InsufficientMoney = "You don't have enough money!",
    OrderReceived = "A total of {amount} items order received! Preparing...",
    TipReceived = "Thanks! Grateful for the tip!",
    TipError = "An error occurred while deducting money!",
    AddedSuccessfully = "Item added successfully!",
    AddingError = "An issue occurred while adding the item.",
    VehicleSpawn = "Courier delivery triggered!",
    InteractionPrompt = "Press E to interact with the courier.",
    siparisverdiniz = "You can order once every hour!",
    siparisizyolda = "You've already placed an order!"
}

Config.DialogOptions = {
    "Hello! Your order is here.",
    "I hope I made it on time!",
    "Have a sweet day!"
}

Config.ThankDialogs = {
    "Thanks!",
    "You're amazing!",
    "Good job!",
    "I'm grateful to you!"
}

Config.CourierInteractionMenu = {
    Header = "Courier Interaction Menu",
    GiveTipHeader = "Give Tip",
    GiveTipTxt = "Give tip to the courier.",
    ThankCourierHeader = "Thank Courier",
    ThankCourierTxt = "Thank the courier.",
    ComplainHeader = "Complain",
    ComplainTxt = "Complain about the courier.",
    CloseHeader = "Close",
    CloseTxt = "Close menu."
}
Code is accessible /No
Subscription-based /No
Requirements qb-core/qb-menu
Support Yes
3 Likes

Pozmod was working great, and I want to try this too

1 Like