BATTLEPASS by AK4Y-Battlepass
This is a script for QBCORE not for ESX ! so don't write me to put here a script for ESX ! . I hope this will work for youYou just need to translate the texts into your language
This si config.lua
Code:
-- ak4y dev.
-- IF YOU HAVE ANY PROBLEM OR DO YOU NEED HELP PLS COME TO MY DISCORD SERVER AND CREATE A TICKET
-- IF YOU DONT HAVE ANY PROBLEM YET AGAIN COME TO MY DISCORD :)
-- https://discord.gg/kWwM3Bx
-- YOU HAVE TO RESET YOUR SQL WHEN YOU CHANGE TASK OR REWARD FROM CONFIG
-- YOU HAVE TO RESET YOUR SQL WHEN YOU CHANGE TASK OR REWARD FROM CONFIG
-- YOU HAVE TO RESET YOUR SQL WHEN YOU CHANGE TASK OR REWARD FROM CONFIG
-- YOU HAVE TO RESET YOUR SQL WHEN YOU CHANGE TASK OR REWARD FROM CONFIG
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.UseTebexForPremiumCodes = false
AK4Y.RequiredXpForNextLevel = 1000
AK4Y.BPEndDate = {day = 10, month = 03, year = 2023} -- Make sure your server is dated correctly
AK4Y.DailyTasksResetPeriod = 1 -- DAY
AK4Y.Language = {
["openSpamProtectNotif"] = "V tejto chvíli nemôžete otvoriť menu, prosím, počkajte chvíľu.",
["title1"] = "AK4Y",
["title2"] = "BATTLE PASS",
["collectedText"] = "Zbierané",
["dailyText"] = "Denné",
["remainingText"] = "Zostávajúce",
["dayText"] = "Deň",
["accountTypeText"] = "Typ účtu:",
["premiumBuyButtonText"] = "KÚPIŤ PREMIUM",
["redeemInfoText"] = "Na vrchu môžete aktivovať svoj premium kód.",
["premiumCodeTitle1"] = "VLOŽTE SVOJ",
["premiumCodeTitle2"] = "PREMIUM",
["premiumCodeTitle3"] = "KÓD:",
["acceptButtonText"] = "PRIJMI",
["premiumTasksText1"] = "STABLE",
["premiumTasksText2"] = "Úlohy",
["upgradeAccountCongratTitle"] = "GRATULUJEME!",
["upgradeAccountText"] = "Váš účet bol aktualizovaný na PREMIUM",
["piece"] = " Kus",
["moneySymbol"] = "€",
}
-- Balık görevinin task ID si 4
-- STANDART GÖREVLER ARASINDA -- balık scriptinizi açar mısın
-- STANDART TASKS
AK4Y.BattlePassTasks = {
{taskId = 1, requiredcount = 50, rewardXP = 250, taskTitle = "50 Balık Tut", taskDescription = "Olta ve yemini alıp hemen 50 tane balık tut."},
{taskId = 2, requiredcount = 2, rewardXP = 500, taskTitle = "2 Tane Market Soy", taskDescription = "Gece saatlerinde 2 adet Market soy."},
-- {taskId = 2, requiredcount = 5, rewardXP = 250, taskTitle = "5 Katil Balina Eti Tut", taskDescription = "Olta ve yemini alıp hemen 5 Katil Balina Eti tut."},
{taskId = 3, requiredcount = 10, rewardXP = 400, taskTitle = "10 Vatoz Tut", taskDescription = "Olta ve yemini alıp hemen 10 tane Vatos tut."},
-- {taskId = 4, requiredcount = 10, rewardXP = 400, taskTitle = "10 Kaplan Köpekbalığı Eti Tut", taskDescription = "Olta ve yemini alıp hemen 10 tane balık tut."},
-- {taskId = 5, requiredcount = 10, rewardXP = 400, taskTitle = "10 Kedi Balığı Tut", taskDescription = "Olta ve yemini alıp hemen 10 tane balık tut."},
{taskId = 4, requiredcount = 15, rewardXP = 250, taskTitle = "15 Somon Tut", taskDescription = "Olta ve yemini alıp hemen 15 tane Somon balığı tut."},
{taskId = 5, requiredcount = 15, rewardXP = 250, taskTitle = "15 İri Ağızlı Siyah Levrek Tut", taskDescription = "Olta ve yemini alıp hemen 15 tane İri ağızlı siyah levrek tut."},
-- {taskId = 8, requiredcount = 20, rewardXP = 250, taskTitle = "20 Japon Balığı Tut", taskDescription = "Olta ve yemini alıp hemen 100 tane balık tut."},
-- {taskId = 9, requiredcount = 20, rewardXP = 400, taskTitle = "20 Kızıl Eşkina Balığı Tut", taskDescription = "Olta ve yemini alıp hemen 100 tane balık tut."},
{taskId = 6, requiredcount = 30, rewardXP = 250, taskTitle = "30 Lüfer Tut", taskDescription = "Olta ve yemini alıp hemen 100 tane balık tut."},
-- {taskId = 11, requiredcount = 30, rewardXP = 250, taskTitle = "30 Çizgili Levrek Tut", taskDescription = "Olta ve yemini alıp hemen 100 tane balık tut."},
{taskId = 7, requiredcount = 1, rewardXP = 500, taskTitle = "Güvenli Bölgede 1 saat geçir", taskDescription = "Motel, İskele, Hastahane gibi yerlerde 1 saat vakit geçir."},
{taskId = 8, requiredcount = 3, rewardXP = 250, taskTitle = "Araçta 3 Defa Meth Yap", taskDescription = "Meth aracında 3 defa meth yap"},
-- {taskId = 14, requiredcount = 40, rewardXP = 500, taskTitle = "Kokain yaprağı topla", taskDescription = "40 Tane meth yap."},
-- {taskId = 15, requiredcount = 5, rewardXP = 1000, taskTitle = "Piller Coral", taskDescription = "Denizden 5 adet Piller Coral topla"},
}
-- STABLE TASKS
AK4Y.DailyPremiumTasks = {
{taskId = 1, requiredcount = 1000, rewardXP = 5000, taskTitle = "1000 Tane Rastgele Balık Tut.", taskDescription = "Tuttuğun balık farketmezsizin 1000 tane balık tut."},
{taskId = 2, requiredcount = 10, rewardXP = 2500, taskTitle = "10 Kaplan Köpek Balığı Eti Tut", taskDescription = "Olta ve yemini alıp hemen 10 Kaplan Köpek Balığı Eti tut."},
{taskId = 3, requiredcount = 20, rewardXP = 2500, taskTitle = "20 Japon Balığı Tut", taskDescription = "Olta ve yemini alıp hemen 20 tane Japon balık tut."},
}
-- BATTLE PASS PRIZES
AK4Y.BattlePassItems = {
{
taskId = 1,
requiredLevel = 1, -- type = item, money, weapon | if your weapons are item. you should type item.
rewards = {
standart = { -- unique = true : gives items one by one
itemLabel = "Para", itemName = "cash", type = "money", count = 2500, unique = false, image = "./images/moneyBag.png"
},
premium = {
itemLabel = "BattlePass Kutusu", itemName = "battlepassbox", type = "item", count = 2, unique = false, image = "./images/goldbox.png"
}
}
},
{
taskId = 2,
requiredLevel = 2,
rewards = {
standart = {
itemLabel = "Altın Zincir", itemName = "goldchain", type = "item", count = 2, unique = false, image = "./images/goldchain.png"
},
premium = {
itemLabel = "Gelişmiş Maymuncuk", itemName = "advancedlockpick", type = "item", count = 2, unique = false, image = "./images/advancedlockpick.png"
}
}
},
{
taskId = 3,
requiredLevel = 3,
rewards = {
standart = {
itemLabel = "Pistol Mermi Kutusu", itemName = "pistol_ammo", type = "item", count = 2, unique = false, image = "./images/pistol_ammo.png"
},
premium = {
itemLabel = "İşaretli Para", itemName = "markedbills", type = "money", count = 15000, unique = false, image = "./images/markedbills.png"
}
}
},
{
taskId = 4,
requiredLevel = 4,
rewards = {
standart = {
itemLabel = "KG Coin", itemName = "deepcoin", type = "item", count = 1, unique = false, image = "./images/deepcoin.png"
},
premium = {
itemLabel = "KG Coin", itemName = "deepcoin", type = "item", count = 1, unique = false, image = "./images/deepcoin.png"
}
}
},
{
taskId = 5,
requiredLevel = 5,
rewards = {
standart = {
itemLabel = "İşaretli Para", itemName = "markedbills", type = "money", count = 7500, unique = false, image = "./images/markedbills.png"
},
premium = {
itemLabel = "Pistol Mermi Kutusu", itemName = "pistol_ammo", type = "item", count = 5, unique = false, image = "./images/moneyBag.png"
}
}
},
{
taskId = 6,
requiredLevel = 6,
rewards = {
standart = {
itemLabel = "Gelişmiş Maymuncuk", itemName = "advancedlockpick", type = "item", count = 2, unique = false, image = "./images/advancedlockpick.png"
},
premium = {
itemLabel = "Altın Zincir", itemName = "goldchain", type = "item", count = 2, unique = false, image = "./images/goldchain.png"
}
}
},
{
taskId = 7,
requiredLevel = 7,
rewards = {
standart = {
itemLabel = "BattlePass Kutusu", itemName = "battlepassbox", type = "item", count = 2, unique = false, image = "./images/goldbox.png"
},
premium = {
itemLabel = "Para", itemName = "cash", type = "money", count = 5000, unique = false, image = "./images/moneyBag.png"
}
}
},
{
taskId = 8,
requiredLevel = 8,
rewards = {
standart = {
itemLabel = "Para", itemName = "cash", type = "money", count = 5000, unique = false, image = "./images/moneyBag.png"
},
premium = {
itemLabel = "Özel Plaka", itemName = "plaka", type = "item", count = 1, unique = false, image = "./images/plaka.png"
}
}
},
{
taskId = 9,
requiredLevel = 7,
rewards = {
standart = {
itemLabel = "SMG Mermi Kutusu", itemName = "smg_ammo", type = "item", count = 2, unique = false, image = "./images/smg_ammo.png"
},
premium = {
itemLabel = "SMG Mermi Kutusu", itemName = "smg_ammo", type = "smg_ammo", count = 2, unique = false, image = "./images/smg_ammo.png"
}
}
},
{
taskId = 10,
requiredLevel = 10,
rewards = {
standart = {
itemLabel = "Kelepçe", itemName = "handcuffs", type = "item", count = 2, unique = false, image = "./images/handcuffs.png"
},
premium = {
itemLabel = "İşaretli Para", itemName = "markedbills", type = "money", count = 5000, unique = false, image = "./images/markedbills.png"
}
}
},
{
taskId = 11,
requiredLevel = 11,
rewards = {
standart = {
itemLabel = "İşaretli Para", itemName = "markedbills", type = "money", count = 10000, unique = false, image = "./images/markedbills.png"
},
premium = {
itemLabel = "Pillar Coral", itemName = "dendrogyra_coral", type = "item", count = 1, unique = false, image = "./images/dendrogyra_coral.png"
}
}
},
{
taskId = 12,
requiredLevel = 12,
rewards = {
standart = {
itemLabel = "KG Coin", itemName = "deepcoin", type = "item", count = 2, unique = false, image = "./images/deepcoin.png"
},
premium = {
itemLabel = "BattlePass Kutusu", itemName = "battlepassbox", type = "item", count = 1, unique = false, image = "./images/goldbox.png"
}
}
},
{
taskId = 13,
requiredLevel = 13,
rewards = {
standart = {
itemLabel = "Pillar Coral", itemName = "dendrogyra_coral", type = "item", count = 2, unique = false, image = "./images/dendrogyra_coral.png"
},
premium = {
itemLabel = "KG Coin", itemName = "deepcoin", type = "item", count = 2, unique = false, image = "./images/deepcoin.png"
}
}
},
{
taskId = 14,
requiredLevel = 14,
rewards = {
standart = {
itemLabel = "BattlePass Kutusu", itemName = "battlepassbox", type = "item", count = 2, unique = false, image = "./images/goldbox.png"
},
premium = {
itemLabel = "Kelepçe Anahtarı", itemName = "handcuffkey", type = "item", count = 1, unique = false, image = "./images/handcuffkey.png"
}
}
},
{
taskId = 15,
requiredLevel = 15,
rewards = {
standart = {
itemLabel = "Para", itemName = "cash", type = "money", count = 7500, unique = false, image = "./images/moneyBag.png"
},
premium = {
itemLabel = "BattlePass Kutusu", itemName = "battlepassbox", type = "item", count = 2, unique = false, image = "./images/goldbox.png"
}
}
},
{
taskId = 16,
requiredLevel = 16,
rewards = {
standart = {
itemLabel = "Riffle Mermi Kutusu", itemName = "rifle_ammo", type = "item", count = 2, unique = false, image = "./images/rifle_ammo.png"
},
premium = {
itemLabel = "Riffle Mermi Kutusu", itemName = "rifle_ammo", type = "item", count = 4, unique = false, image = "./images/rifle_ammo.png"
}
}
},
{
taskId = 17,
requiredLevel = 17,
rewards = {
standart = {
itemLabel = "İşaretli Para", itemName = "markedbills", type = "money", count = 12500, unique = false, image = "./images/markedbills.png"
},
premium = {
itemLabel = "İşaretli Para", itemName = "markedbills", type = "money", count = 20000, unique = false, image = "./images/markedbills.png"
}
}
},
{
taskId = 18,
requiredLevel = 18,
rewards = {
standart = {
itemLabel = "KG Coin", itemName = "deepcoin", type = "item", count = 3, unique = false, image = "./images/deepcoin.png"
},
premium = {
itemLabel = "Beysbol Sopası", itemName = "weapon_bat", type = "item", count = 1, unique = false, image = "./images/weapon_bat.png"
}
}
},
{
taskId = 19,
requiredLevel = 19,
rewards = {
standart = {
itemLabel = "Kelepçe Anahtarı", itemName = "handcuffkey", type = "item", count = 2, unique = false, image = "./images/handcuffkey.png"
},
premium = {
itemLabel = "Kelepçe", itemName = "paintingg", type = "item", count = 1, unique = false, image = "./images/paintingg.png"
}
}
},
{
taskId = 20,
requiredLevel = 20,
rewards = {
standart = {
itemLabel = "Rolex Saat", itemName = "rolex", type = "item", count = 2, unique = false, image = "./images/rolex.png"
},
premium = {
itemLabel = "Tarihi Tablo Parçası", itemName = "rifle_ammo", type = "item", count = 4, unique = false, image = "./images/rifle_ammo.png"
}
}
},
{
taskId = 21,
requiredLevel = 21,
rewards = {
standart = {
itemLabel = "BattlePass Kutusu", itemName = "battlepassbox", type = "item", count = 3, unique = false, image = "./images/goldbox.png"
},
premium = {
itemLabel = "KG Coin", itemName = "deepcoin", type = "item", count = 1, unique = false, image = "./images/deepcoin.png"
}
}
},
{
taskId = 22,
requiredLevel = 22,
rewards = {
standart = {
itemLabel = "Para", itemName = "cash", type = "money", count = 1000, unique = false, image = "./images/moneyBag.png"
},
premium = {
itemLabel = "Elmas Yüzük", itemName = "diamond_ring", type = "item", count = 1, unique = false, image = "./images/diamond_ring.png"
}
}
},
{
taskId = 23,
requiredLevel = 23,
rewards = {
standart = {
itemLabel = "MG Mermi Kutusu", itemName = "mg_ammo", type = "item", count = 2, unique = false, image = "./images/mg_ammo.png"
},
premium = {
itemLabel = "Termit", itemName = "thermite", type = "item", count = 1, unique = false, image = "./images/thermite.png"
}
}
},
{
taskId = 24,
requiredLevel = 24,
rewards = {
standart = {
itemLabel = "İşaretli Para", itemName = "markedbills", type = "money", count = 15000, unique = false, image = "./images/markedbills.png"
},
premium = {
itemLabel = "Trojan USB", itemName = "trojan_usb", type = "item", count = 4, unique = false, image = "./images/usb_device.png"
}
}
},
{
taskId = 25,
requiredLevel = 25,
rewards = {
standart = {
itemLabel = "KG Coin", itemName = "deepcoin", type = "item", count = 4, unique = false, image = "./images/deepcoin.png"
},
premium = {
itemLabel = "Nitro", itemName = "nitrous", type = "item", count = 5, unique = false, image = "./images/nitrous.png"
}
}
},
{
taskId = 26,
requiredLevel = 26,
rewards = {
standart = {
itemLabel = "Ağır Zırh", itemName = "heavyarmor", type = "item", count = 2, unique = false, image = "./images/armor.png"
},
premium = {
itemLabel = "Halat", itemName = "rope", type = "item", count = 1, unique = false, image = "./images/rope.png"
}
}
},
{
taskId = 27,
requiredLevel = 27,
rewards = {
standart = {
itemLabel = "Külçe Altın", itemName = "goldbar", type = "item", count = 1, unique = false, image = "./images/goldbar.png"
},
premium = {
itemLabel = "Özel Numara", itemName = "ozelnumara", type = "item", count = 1, unique = false, image = "./images/telno.png"
}
}
},
{
taskId = 28,
requiredLevel = 28,
rewards = {
standart = {
itemLabel = "BattlePass Kutusu", itemName = "battlepassbox", type = "item", count = 4, unique = false, image = "./images/goldbox.png"
},
premium = {
itemLabel = "MG Mermi Kutusu", itemName = "mg_ammo", type = "item", count = 3, unique = false, image = "./images/mg_ammo.png"
}
}
},
{
taskId = 29,
requiredLevel = 29,
rewards = {
standart = {
itemLabel = "Beysbol Sopası", itemName = "weapon_bat", type = "item", count = 1, unique = false, image = "./images/weapon_bat.png"
},
premium = {
itemLabel = "BattlePass Kutusu", itemName = "battlepassbox", type = "item", count = 3, unique = false, image = "./images/goldbox.png"
}
}
},
{
taskId = 30,
requiredLevel = 30,
rewards = {
standart = {
itemLabel = "Nitro", itemName = "nitrous", type = "item", count = 5, unique = false, image = "./images/nitrous.png"
},
premium = {
itemLabel = "Koch 97M10", itemName = "weapon_snspistol", type = "item", count = 1, unique = false, image = "./images/weapon_snspistol.png"
}
}
},
}
Last edited: