Configuration
2️⃣ Configuration
Edit config.lua to adjust settings.
🛠️ General Settings
// ```lua
-- "Determine which framework to use ("qb" or "esx")
Config.Framework = "qb"
Config.InteractText = "~g~[E]~w~ Shop" -- Text on the ped
Config.PaymentMethod = "both" -- "cash, bank, or both ?"
Config.MarketKey = "E" --E - C - F - G - H - K - J - L : Market Open Key
Config.Language = "en" -- Default Lang: "tr", "en"
```🎁 Items Settings
//
```lua
Config.Items = {
{ label = "Water", item = "water_bottle", price = 5, image = "water.png" },
{ label = "Burger", item = "burger", price = 10, image = "sandwich.png" },
{ label = "Bandage", item = "bandage", price = 7, image = "bandage.png" },
{ label = "Phone", item = "phone", price = 8, image = "phone.png" }
}
```🌍 Language (Locales)
//
```lua
-- 🗣 Language Translations
Config.Locales = {
["tr"] = {
["market_title"] = "MARKET",
["market_desc"] = "İstediğini Satın Al!",
["buy_success"] = "Satın alma başarılı!",
["buy_failed"] = "Yetersiz bakiye!",
["interact_text"] = "[E] Marketi Aç",
["total"] = "TOPLAM",
["pay"] = "ÖDE",
["cart_empty"] = "Sepet Boş"
},
["en"] = {
["market_title"] = "MARKET",
["market_desc"] = "Buy Whatever You Want!",
["buy_success"] = "Purchase successful!",
["buy_failed"] = "Insufficient balance!",
["interact_text"] = "[E] Open Market",
["total"] = "TOTAL",
["pay"] = "PAY",
["cart_empty"] = "Cart is Empty"
}
}
```Last updated