Rise Development
  • Rise Development
  • Script
    • Pawnshop
    • Blip Menu
    • Pizza Courier
    • Taco Courier
    • Character Kill
    • ID Give Car System
    • Sellable Stashes
    • Blip Creator
    • For Rent Car
    • Billing System
    • Admin Report
    • BlackMarketV1
    • Fish System
    • Whitelisted System
  • Development Services
    • Development Services (Monthly)
Powered by GitBook
On this page
  1. Script

Pawnshop

Easily create multiple pawnshops across different locations, each with its own unique settings. Job-Based or Public Shops: Configure each pawnshop to be accessible by specific jobs or open to all players. Custom Items Per Market: Define which items can be sold at each individual pawnshop for full control. Inventory Compatibility: ox_inventory, qb-inventory Target System Support: ox_target qb-inventory Multi-Language Support: TR, EN Easy to switch between languages from the config. Optimized Codebase: Built for performance with zero FPS drops and minimal server load. UI-Based Configuration: Easily edit and manage settings through a clean, user-friendly config interface.

-- TR.Lua
local Translations = {
    error = {
        not_enough_items = 'Yeterli eşyaya sahip değilsiniz!',
        wrong_job = 'Bu işlemi yapmak için gerekli mesleğe sahip değilsiniz!',
    },
    success = {
        item_sold = '%{amount} adet %{item} sattınız. Kazanç: $%{price}',
    },
    info = {
        pawnshop = 'Rehin Dükkanı',
        shop_title = 'Rehin Dükkanı',
        sell_button = 'Sat',
        close_button = 'X',
        item_price = 'Fiyat: $%{price}',
        shop_blip = 'Rehin Dükkanı'
    },
    menu = {
        sell_items = 'Eşyaları Sat',
        available_items = 'Mevcut Eşyalar',
        item_amount = 'Miktar',
        confirm_sell = 'Onayla',
        cancel = 'İptal'
    }
}

Lang = Locale:new({
    phrases = Translations,
    warnOnMissing = true
}) 
-- EN.LUA File
local Translations = {
    error = {
        not_enough_items = 'You don\'t have enough items!',
        wrong_job = 'You don\'t have the required job!',
    },
    success = {
        item_sold = 'You sold %{amount}x %{item} for $%{price}',
    },
    info = {
        pawnshop = 'Pawn Shop',
        shop_title = 'Pawn Shop',
        sell_button = 'Sell',
        close_button = 'X',
        item_price = 'Price: $%{price}',
        shop_blip = 'Pawn Shop'
    },
    menu = {
        sell_items = 'Sell Items',
        available_items = 'Available Items',
        item_amount = 'Amount',
        confirm_sell = 'Confirm',
        cancel = 'Cancel'
    }
} 

Lang = Locale:new({
    phrases = Translations,
    warnOnMissing = true
}) 
-- Config File

beqeend = {}

beqeend.UseOxInventory = true -- true for ox_inventory, false for qb-inventory
beqeend.UseOxTarget = true -- true for ox_target, false for qb-target
beqeend.DefaultLanguage = 'en' -- tr or en

beqeend.Locations = {
    [1] = {
        name = Lang:t('info.pawnshop'),
        coords = vector3(182.8245, -1319.574, 29.317),
        blip = {
            enabled = true,
            sprite = 431,
            color = 5,
            scale = 0.7,
            label = 'Blip Name'
        },
        npc = {
            model = "s_m_m_migrant_01",
            coords = vector4(182.8245, -1319.574, 29.317, 230.0),
            scenario = "WORLD_HUMAN_CLIPBOARD"
        },
        job = {
            required = false,
            name = "pawnshop",
            grade = 0
        },
        items = {
            ["rolex"] = {
                name = "rolex",
                price = 500,
                label = "Rolex Saat"
            },
            ["goldchain"] = {
                name = "goldchain",
                price = 250,
                label = "Altın Kolye"
            },
            ["diamond_ring"] = {
                name = "diamond_ring",
                price = 750,
                label = "Pırlanta Yüzük"
            },
            ["goldbar"] = {
                name = "goldbar",
                price = 2500,
                label = "Altın Külçe"
            }
        }
    },
    [2] = {
        name = Lang:t('info.pawnshop'),
        coords = vector3(-1459.3, -413.6, 35.7),
        blip = {
            enabled = true,
            sprite = 431,
            color = 3,
            scale = 0.7,
            label = 'Blip Name'
        },
        npc = {
            model = "a_m_m_bevhills_02",
            coords = vector4(-1459.3, -413.6, 35.7, 180.0),
            scenario = "WORLD_HUMAN_STAND_IMPATIENT"
        },
        job = {
            required = false,
            name = "",
            grade = 0
        },
        items = {
            ["water"] = {
                name = "water",
                price = 450,
                label = "Water"
            },
            ["weapon_pistol"] = {
                name = "weapon_pistol",
                price = 200,
                label = "Pistol"
            },
            ["taco"] = {
                name = "taco",
                price = 200,
                label = "Taco"
            },
            ["ammo-9"] = {
                name = "ammo-9",
                price = 700,
                label = "Ammo"
            }
        }
    }
} 
PreviousRise DevelopmentNextBlip Menu

Last updated 24 days ago

Page cover image