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!",
}


```

Last updated