ByteXcripts Docs
  • 👋Welcome
  • 📸Camera Mode
    • Settings
    • Filters
  • 🚕NPC Taxi
    • Settings
    • Custom Functions
  • 🎰Roulette
    • Settings
    • Custom Functions
  • 📝Text UI
    • Settings
    • Exports
    • How to use it
  • 💊Sell Drugs
    • Settings
    • Custom Functions
  • 🏠House Robbery
    • Settings
    • Custom Functions
    • Custom Interiors
Powered by GitBook
On this page
  1. Roulette

Settings

PreviousRouletteNextCustom Functions

Last updated 4 months ago

Puede añadir más coordenadas donde quiere que haya ruletas y así que se pueda jugar en otros lugares y, también puede añadir más recompensas a la ruleta.

You can add more coordinates where you want the roulettes to be so that you can play in other places, and you can also add more rewards to the roulette.

config.lua
GLOBALS = {
    framework = "qb-core", -- Compatible with -> qb-core and esx.
    target = "qb-target", -- Compatible with -> ox_target, qtarget, qb-target.
    notifications = "qb-core", -- Compatible with -> qb-core, esx and custom.
    rouletteBet = 1000,
    Cooldown = 24,
    PropModel = "vw_prop_vw_luckywheel_02a",
    PropCoords = {
        {
            coords = vector4(218.85, -811.53, 29.85, 163.9),
            active = true
        },
    },
}

TRANSLATIONS = {
    ["cooldownMessage"] = "¡Lo siento! Debes esperar %d horas y %d minutos antes de poder jugar de nuevo.",
    ["playRoulette"] = "Play Roulette",
    ["noMoney"] = "¡No tienes el dinero necesario!",
    ["winningMessage"] = "¡Has ganado %s!",
    ["enterBet"] = "Please enter a bet --> $%d",
}

ITEMS = {
    {
        name = "weapon_pistol",
        label = "Pistol",
        chance = 2,
        type = "weapon",
        class = "legendary"
    },
    {
        name = "big_money",
        label = "Big Money Bag",
        amount = 25000,
        chance = 15,
        type = "money",
        class = "epic"
    },
    {
        name = "phone",
        label = "Phone",
        chance = 20,
        type = "item",
        class = "common"
    },
    {
        name = "lockpick",
        label = "Lockpick",
        chance = 25,
        type = "item",
        class = "rare"
    },
    {
        name = "small_money",
        label = "Small Money Bag",
        amount = 5000,
        chance = 35,
        type = "money",
        class = "rare"
    },
    {
        name = "weapon_switchblade",
        label = "Switchblade",
        chance = 5,
        type = "weapon",
        class = "legendary"
    },
    {
        name = "weapon_knife",
        label = "Knife",
        chance = 8,
        type = "weapon",
        class = "legendary"
    }
}
🎰