ak4y Development
TEBEXYOUTUBEDISCORD
  • 📖Welcome
  • INFORMATION
    • 🙋Discord Customer Role
    • ❓Tebex Script Integration
    • 🔐Setting Steam Api Key
    • 🔑CFX Auth System
    • 📭Lost Transaction ID
    • 🔓Escrow/Open Source
    • 😟You lack the required entitlement
  • SCRIPTS
    • ak4y-vipSystemv2
      • Manage Categories
      • Config
        • Translate
        • General Settings
        • Special Offer Category
        • Hot Deals Category
        • Buy Coin Category
        • Bundle Category
        • Customize Category
        • House Category
        • Job Category
        • Vehicle Category
        • Item Category
        • Money Category
        • Weapon Category
      • Triggers
      • Admin Commands
    • ak4y-hudv1
      • Build For Open Source
      • Setup Script
      • Config
      • Exports
    • ak4y-football
      • Known Errors
      • Setting Up
      • Config
    • ak4y-caseOpening
      • Config
    • ak4y-battlepass
      • Config
    • ak4y-vipSystem
      • Config
    • ak4y-playtimeshop
      • Config
    • ak4y-blackmarket
      • Config
    • ak4y-dailymissions
      • Config
    • ak4y-advancedFishing
      • Config
    • ak4y-pauseMenu
      • Config
    • ak4y-dailyRewards
      • Config
    • ak4y-jobSelector
      • Config
    • ak4y-advancedHunting
      • Config
    • ak4y-dice
      • Config
    • ak4y-dailyWheel
      • Config
    • ak4y-multicharacter
      • Config
    • ak4y-spawnSelector
      • Config
    • ak4y-kit
      • Config
    • ak4y-treasureHunting
      • Config
    • ak4y-garbageJob
      • Config
    • ak4y-pauseMenuV2
      • Copy of Config
Powered by GitBook
On this page

Was this helpful?

  1. SCRIPTS
  2. ak4y-dailyWheel

Config

```lua
AK4Y = {}

AK4Y.Framework = "newEsx" -- esx / newEsx | newEsx = export system | esx = triggerevent system
AK4Y.Mysql = "oxmysql" -- Check fxmanifest.lua when you change it! | ghmattimysql / oxmysql / mysql-async

AK4Y.SpinCost = 2 -- CR
AK4Y.SpinPeriod = 24 -- HOURS 
AK4Y.TebexPageLink = "https://ak4y.tebex.io/category/qb-scripts/"

AK4Y.DefaultGarage = "pillboxgarage" -- purchased vehicles will be sent to this garage

AK4Y.CommandUse = true
AK4Y.OpenCommandMenu = "openMenu"

AK4Y.SpawnOpenMenu = true -- SHOULD THE MENU OPEN AUTOMATICALLY WHEN THE CHARACTER SPAWNS?

-------

-- OPEN MENU EVENT :  '    ak4y-dailyWheel:openMenu    ' (client side event) 
-- TriggerEvent('ak4y-dailyWheel:openMenu')

-------

--------------------------------------------------------------------------

-- MAX 8 ITEM IN TABLE
-- MAX 8 ITEM IN TABLE
-- MAX 8 ITEM IN TABLE

-- items in the table should have a chance total of 100 !! IMPORTANT !! IMPORTANT !! IMPORTANT !!
-- items in the table should have a chance total of 100 !! IMPORTANT !! IMPORTANT !! IMPORTANT !!
-- items in the table should have a chance total of 100 !! IMPORTANT !! IMPORTANT !! IMPORTANT !!

--- GiveItemTypes: "item" , "weapon", "vehicle", "money"
AK4Y.WheelItems = {
    { itemName = "armor", label = "Armor", chance = 20, itemCount = 1, giveItemType = "item", image = "./img/itemImages/armor.png" },
    { itemName = "money", label = "$10.000", chance = 10, itemCount = 10000, giveItemType = "money", image = "./img/itemImages/money.png" },
    { itemName = "weapon_snspistol", label = "PISTOL AMMO", chance = 5, itemCount = 1, giveItemType = "weapon", image = "./img/itemImages/weapon_snspistol.png" },
    { itemName = "bandage", label = "Bandage", chance = 10, itemCount = 1, giveItemType = "item", image = "./img/itemImages/bandage.png" },
    { itemName = "beer", label = "Beer", chance = 20, itemCount = 1, giveItemType = "item", image = "./img/itemImages/beer.png" },
    { itemName = "joint", label = "Joint", chance = 10, itemCount = 1, giveItemType = "item", image = "./img/itemImages/joint.png" },
    { itemName = "iphone", label = "iPhone", chance = 20, itemCount = 1, giveItemType = "item", image = "./img/itemImages/iphone.png" },
    { itemName = "zentorno", label = "Zentorno", chance = 5, itemCount = 1, giveItemType = "vehicle", image = "./img/itemImages/zentorno.png" },
}

---------------------------------------------------------------------------

AK4Y.Translate = {
    title1 = "AK4Y",
    title2 = "ROLEPLAY",
    lwTxt = "Lucky Wheel",
    ttlDesc = "Lorem ipsum dolor sit amet consectetur. Quam posuere sapien egestas varius elit tortor. Dolor feugiat et sapien.",
    spin = "SPIN",
    dlySpin = "Daily Spin",
    gtSpin = "GET SPIN", 
    redeemCode = "REDEEM CODE",
    enterCode = "ENTER CODE",
    ecButton = "Enter Code",
    noRedeemCd = "No redeem code?",
    byCodeButton = "BUY REDEEM CODE",
    infoTitle = "WARNING!",
    infoWrongCodeDesc = "The code is wrong!",
    infoYouDontHaveCoin = "You dont have enought coin!",
}


```
```lua
AK4Y = {}

AK4Y.Framework = "qb" -- qb / oldqb | qb = export system | oldqb = triggerevent system
AK4Y.Mysql = "oxmysql" -- Check fxmanifest.lua when you change it! | ghmattimysql / oxmysql / mysql-async

AK4Y.SpinCost = 2 -- CR
AK4Y.SpinPeriod = 24 -- HOURS 
AK4Y.TebexPageLink = "https://ak4y.tebex.io/package/5952791/"

AK4Y.DefaultGarage = "pillboxgarage" -- purchased vehicles will be sent to this garage

AK4Y.CommandUse = true
AK4Y.OpenCommandMenu = "openMenu"

AK4Y.SpawnOpenMenu = true -- SHOULD THE MENU OPEN AUTOMATICALLY WHEN THE CHARACTER SPAWNS?

-------

-- OPEN MENU EVENT :  '    ak4y-dailyWheel:openMenu    ' (client side event) 
-- TriggerEvent('ak4y-dailyWheel:openMenu')

-------

--------------------------------------------------------------------------

-- MAX 8 ITEM IN TABLE
-- MAX 8 ITEM IN TABLE
-- MAX 8 ITEM IN TABLE

-- items in the table should have a chance total of 100 !! IMPORTANT !! IMPORTANT !! IMPORTANT !!
-- items in the table should have a chance total of 100 !! IMPORTANT !! IMPORTANT !! IMPORTANT !!
-- items in the table should have a chance total of 100 !! IMPORTANT !! IMPORTANT !! IMPORTANT !!

--- GiveItemTypes: "item" , "weapon", "vehicle", "money"
AK4Y.WheelItems = {
    { itemName = "armor", label = "Armor", chance = 20, itemCount = 1, giveItemType = "item", image = "./img/itemImages/armor.png" },
    { itemName = "money", label = "$10.000", chance = 10, itemCount = 10000, giveItemType = "money", image = "./img/itemImages/money.png" },
    { itemName = "weapon_snspistol", label = "PISTOL AMMO", chance = 5, itemCount = 1, giveItemType = "weapon", image = "./img/itemImages/weapon_snspistol.png" },
    { itemName = "bandage", label = "Bandage", chance = 10, itemCount = 1, giveItemType = "item", image = "./img/itemImages/bandage.png" },
    { itemName = "beer", label = "Beer", chance = 20, itemCount = 1, giveItemType = "item", image = "./img/itemImages/beer.png" },
    { itemName = "joint", label = "Joint", chance = 10, itemCount = 1, giveItemType = "item", image = "./img/itemImages/joint.png" },
    { itemName = "iphone", label = "iPhone", chance = 20, itemCount = 1, giveItemType = "item", image = "./img/itemImages/iphone.png" },
    { itemName = "zentorno", label = "Zentorno", chance = 5, itemCount = 1, giveItemType = "vehicle", image = "./img/itemImages/zentorno.png" },
}

---------------------------------------------------------------------------

AK4Y.Translate = {
    title1 = "AK4Y",
    title2 = "ROLEPLAY",
    lwTxt = "Lucky Wheel",
    ttlDesc = "Lorem ipsum dolor sit amet consectetur. Quam posuere sapien egestas varius elit tortor. Dolor feugiat et sapien.",
    spin = "SPIN",
    dlySpin = "Daily Spin",
    gtSpin = "GET SPIN", 
    redeemCode = "REDEEM CODE",
    enterCode = "ENTER CODE",
    ecButton = "Enter Code",
    noRedeemCd = "No redeem code?",
    byCodeButton = "BUY REDEEM CODE",
    infoTitle = "WARNING!",
    infoWrongCodeDesc = "The code is wrong!",
    infoYouDontHaveCoin = "You dont have enought coin!",
}


```
Previousak4y-dailyWheelNextak4y-multicharacter

Last updated 1 year ago

Was this helpful?