πΏInstallation
Discover how to install your script.
β’ STEP 1: DEPENDENCIES
Make sure you have this resources installed in your server!
ESX or QB-CORE
β’ STEP 2: START ORDER
ensure biyei_coins
β’ STEP 3: ADD SERVER COINS
Opens the config.lua file of es_extended
In Config.Accounts add new Account type with your own name coins for example 'coins'
OLD ESX:
Config.Accounts = {
bank = _U('account_bank'),
black_money = _U('account_black_money'),
money = _U('account_money'),
coins = 'coins',
}
Config.StartingAccountMoney = {bank = 25000, money = 5000, coins = 0}
NEW ESX:
Config.Accounts = {
bank = {
label = TranslateCap('account_bank'),
round = true
},
black_money = {
label = TranslateCap('account_black_money'),
round = true
},
money = {
label = TranslateCap('account_money'),
round = true
},
coins = {
label = 'coins',
round = true,
}
}
Config.StartingAccountMoney = {bank = 50000, coins = 0}
Opens the config.lua file of qb-core
In QBConfig.Money.MoneyTypes add new Account type with your own name coins for example 'coins'
QBConfig.Money = {}
QBConfig.Money.MoneyTypes = { cash = 500, bank = 5000, crypto = 0, coins = 0 } -- type = startamount - Add or remove money types for your server (for ex. blackmoney = 0), remember once added it will not be removed from the database!
QBConfig.Money.DontAllowMinus = { 'cash', 'crypto', 'coins' } -- Money that is not allowed going in minus
QBConfig.Money.PayCheckTimeOut = 10 -- The time in minutes that it will give the paycheck
QBConfig.Money.PayCheckSociety = false -- If true paycheck will come from the society account that the player is employed at, requires qb-management
Last updated