PEEVEE
  • Welcome
  • Gang System
    • Setup
    • Config
  • Tophud
    • Config
  • Container Robbery
    • Setup
    • Config
  • Hud
    • Config
  • drugselling
    • Config
  • Simple Billing
    • Config
    • Exports
  • Gangareas
    • Config
    • Exports
  • Credit system
    • Config
    • Exports
    • Commands
  • Pharmacy robbery
    • Config
  • Vehicleshop
    • Config
Powered by GitBook
On this page
  1. Credit system

Config

return {
    framework = "esx", -- esx / qb / qbx / ox

    color = "#1957ca", -- only hex colors work

    identifier = "discord",

    commands = {
        add = { -- add credits (admin)
            enabled = true,
            name = "addcredits",
            restricted = "group.admin"
        },
        open = {
            enabled = true,
            name = "credits",
        }
    },

    roulette = {
        colors = {
            "red",
            "black",
            "red",
            "black",
            "red",
            "black",
            "red",
            "black",
            "red",
            "black",
            "red",
            "black",
            "green",
        },
        bets = {
            ["red"] = 2,    -- x multiplayer
            ["black"] = 2,  -- x multiplayer
            ["green"] = 14, -- x multiplayer
        }
    },

    shopItems = {
        ["Weapons"] = {
            {
                name = "weapon_pistol",
                label = "Pistol",

                price = 500,
                image = "nui://ox_inventory/web/images/weapon_pistol.png",

                amount = 1,

                type = "item"
            },
        },
        ["Cash"] = {
            {
                name = "cash",
                label = "Cash $5000",

                price = 500,
                image = "nui://ox_inventory/web/images/money.png",

                amount = 5000,

                type = "cash"
            },
        },
        ["Vehicles"] = {
            {
                name = "brioso",
                label = "Brioso R/A",

                price = 500,
                image = "https://docs.fivem.net/vehicles/brioso.webp",

                amount = 1,

                type = "vehicle"
            },
        }

    }
}
PreviousExportsNextExports

Last updated 1 month ago